| <!DOCTYPE html> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| |
| <meta name="description" content="Javadoc API documentation for org.eclipse.sisu.inject." /> |
| |
| <!-- <link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" /> --> |
| <title> |
| |
| TypeArguments |
| |
| |
| | org.eclipse.sisu.inject |
| |
| </title> |
| <link href="../../../../../assets/doclava-developer-docs.css" rel="stylesheet" type="text/css" /> |
| <link href="../../../../../assets/customizations.css" rel="stylesheet" type="text/css" /> |
| <script src="../../../../../assets/search_autocomplete.js" type="text/javascript"></script> |
| <script src="../../../../../assets/jquery-resizable.min.js" type="text/javascript"></script> |
| <script src="../../../../../assets/doclava-developer-docs.js" type="text/javascript"></script> |
| <script src="../../../../../assets/prettify.js" type="text/javascript"></script> |
| <script type="text/javascript"> |
| setToRoot("../../../../", "../../../../../assets/"); |
| </script> |
| <script src="../../../../../assets/doclava-developer-reference.js" type="text/javascript"></script> |
| <script src="../../../../../assets/navtree_data.js" type="text/javascript"></script> |
| <script src="../../../../../assets/customizations.js" type="text/javascript"></script> |
| <noscript> |
| <style type="text/css"> |
| html,body{overflow:auto;} |
| #body-content{position:relative; top:0;} |
| #doc-content{overflow:visible;border-left:3px solid #666;} |
| #side-nav{padding:0;} |
| #side-nav .toggle-list ul {display:block;} |
| #resize-packages-nav{border-bottom:3px solid #666;} |
| </style> |
| </noscript> |
| </head> |
| |
| <body class=""> |
| |
| <div id="header"> |
| <div id="headerLeft"> |
| |
| <span id="masthead-title">org.eclipse.sisu.inject</span> |
| |
| </div> |
| <div id="headerRight"> |
| |
| <div id="search" > |
| <div id="searchForm"> |
| <form accept-charset="utf-8" class="gsc-search-box" |
| onsubmit="return submit_search()"> |
| <table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody> |
| <tr> |
| <td class="gsc-input"> |
| <input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off" |
| title="search developer docs" name="q" |
| value="search developer docs" |
| onFocus="search_focus_changed(this, true)" |
| onBlur="search_focus_changed(this, false)" |
| onkeydown="return search_changed(event, true, '../../../../')" |
| onkeyup="return search_changed(event, false, '../../../../')" /> |
| <div id="search_filtered_div" class="no-display"> |
| <table id="search_filtered" cellspacing=0> |
| </table> |
| </div> |
| </td> |
| <td class="gsc-search-button"> |
| <input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" /> |
| </td> |
| <td class="gsc-clear-button"> |
| <div title="clear results" class="gsc-clear-button"> </div> |
| </td> |
| </tr></tbody> |
| </table> |
| </form> |
| </div><!-- searchForm --> |
| </div><!-- search --> |
| |
| </div> |
| </div><!-- header --> |
| |
| |
| <div class="g-section g-tpl-240" id="body-content"> |
| <div class="g-unit g-first side-nav-resizable" id="side-nav"> |
| <div id="swapper"> |
| <div id="nav-panels"> |
| <div id="resize-packages-nav"> |
| <div id="packages-nav"> |
| <div id="index-links"> |
| <a href="../../../../packages.html" >Package Index</a> | |
| <a href="../../../../classes.html" >Class Index</a> |
| </div> |
| <ul> |
| |
| <li class="api apilevel-"> |
| <a href="../../../../org/eclipse/sisu/package-summary.html">org.eclipse.sisu</a></li> |
| <li class="api apilevel-"> |
| <a href="../../../../org/eclipse/sisu/bean/package-summary.html">org.eclipse.sisu.bean</a></li> |
| <li class="selected api apilevel-"> |
| <a href="../../../../org/eclipse/sisu/inject/package-summary.html">org.eclipse.sisu.inject</a></li> |
| <li class="api apilevel-"> |
| <a href="../../../../org/eclipse/sisu/launch/package-summary.html">org.eclipse.sisu.launch</a></li> |
| <li class="api apilevel-"> |
| <a href="../../../../org/eclipse/sisu/osgi/package-summary.html">org.eclipse.sisu.osgi</a></li> |
| <li class="api apilevel-"> |
| <a href="../../../../org/eclipse/sisu/space/package-summary.html">org.eclipse.sisu.space</a></li> |
| <li class="api apilevel-"> |
| <a href="../../../../org/eclipse/sisu/wire/package-summary.html">org.eclipse.sisu.wire</a></li> |
| <li class="api apilevel-"> |
| <a href="../../../../org/sonatype/inject/package-summary.html">org.sonatype.inject</a></li> |
| </ul><br/> |
| </div> <!-- end packages --> |
| </div> <!-- end resize-packages --> |
| <div id="classes-nav"> |
| <ul> |
| |
| <li><h2>Interfaces</h2> |
| <ul> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/AnnotatedSource.html">AnnotatedSource</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/BeanLocator.html">BeanLocator</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/BindingPublisher.html">BindingPublisher</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/BindingSubscriber.html">BindingSubscriber</a><T></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/DeferredClass.html">DeferredClass</a><T></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/DeferredProvider.html">DeferredProvider</a><T></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/MutableBeanLocator.html">MutableBeanLocator</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/RankingFunction.html">RankingFunction</a></li> |
| </ul> |
| </li> |
| |
| <li><h2>Classes</h2> |
| <ul> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/DefaultBeanLocator.html">DefaultBeanLocator</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/DefaultRankingFunction.html">DefaultRankingFunction</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/Guice4.html">Guice4</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/InjectorBindings.html">InjectorBindings</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/Legacy.html">Legacy</a><S></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/Logs.html">Logs</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/Soft.html">Soft</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/Sources.html">Sources</a></li> |
| <li class="selected api apilevel-"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html">TypeArguments</a></li> |
| <li class="api apilevel-"><a href="../../../../org/eclipse/sisu/inject/Weak.html">Weak</a></li> |
| </ul> |
| </li> |
| |
| |
| |
| |
| </ul><br/> |
| </div><!-- end classes --> |
| </div><!-- end nav-panels --> |
| <div id="nav-tree" style="display:none"> |
| <div id="index-links"> |
| <a href="../../../../packages.html" >Package Index</a> | |
| <a href="../../../../classes.html" >Class Index</a> |
| </div> |
| </div><!-- end nav-tree --> |
| </div><!-- end swapper --> |
| </div> <!-- end side-nav --> |
| <script> |
| if (!isMobile) { |
| <!-- $("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav"); --> |
| chooseDefaultNav(); |
| if ($("#nav-tree").is(':visible')) { |
| init_default_navtree("../../../../"); |
| } else { |
| addLoadEvent(function() { |
| scrollIntoView("packages-nav"); |
| scrollIntoView("classes-nav"); |
| }); |
| } |
| $("#swapper").css({borderBottom:"2px solid #aaa"}); |
| } else { |
| swapNav(); // tree view should be used on mobile |
| } |
| </script> |
| |
| |
| |
| <div class="g-unit" id="doc-content"> |
| |
| <div id="api-info-block"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <div class="sum-details-links"> |
| |
| |
| Summary: |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <a href="#pubmethods">Methods</a> |
| |
| |
| |
| |
| | <a href="#inhmethods">Inherited Methods</a> |
| |
| | <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> |
| |
| </div><!-- end sum-details-links --> |
| <div class="api-level"> |
| |
| |
| |
| |
| |
| |
| </div> |
| </div><!-- end api-info-block --> |
| |
| |
| <!-- ======== START OF CLASS DATA ======== --> |
| |
| <div id="jd-header"> |
| public |
| |
| final |
| |
| class |
| <h1>TypeArguments</h1> |
| |
| |
| |
| |
| extends <a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a><br/> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| </div><!-- end header --> |
| |
| <div id="naMessage"></div> |
| |
| <div id="jd-content" class="api apilevel-"> |
| <table class="jd-inheritance-table"> |
| |
| |
| <tr> |
| |
| <td colspan="2" class="jd-inheritance-class-cell"><a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">java.lang.Object</a></td> |
| </tr> |
| |
| |
| <tr> |
| |
| <td class="jd-inheritance-space"> ↳</td> |
| |
| <td colspan="1" class="jd-inheritance-class-cell">org.eclipse.sisu.inject.TypeArguments</td> |
| </tr> |
| |
| |
| </table> |
| |
| |
| |
| |
| |
| |
| |
| <div class="jd-descr"> |
| |
| |
| <h2>Class Overview</h2> |
| <p>Utility methods for dealing with generic type arguments. |
| </p> |
| |
| |
| |
| |
| |
| </div><!-- jd-descr --> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <div class="jd-descr"> |
| |
| |
| <h2>Summary</h2> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| <table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> |
| |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| static |
| |
| <a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral[]</a><?> |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html#get(com.google.inject.TypeLiteral<?>)">get</a></span>(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> typeLiteral) |
| |
| <div class="jd-descrdiv">Get all type arguments from a generic type, for example <code>[Foo,Bar]</code> from <code>Map<Foo,Bar></code>.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| static |
| |
| <a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html#get(com.google.inject.TypeLiteral<?>, int)">get</a></span>(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> typeLiteral, int index) |
| |
| <div class="jd-descrdiv">Get an indexed type argument from a generic type, for example <code>Bar</code> from <code>Map<Foo,Bar></code>.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| static |
| <T> |
| <a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/Key.html">Key</a><T> |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html#implicitKey(java.lang.Class<T>)">implicitKey</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a><T> clazz) |
| |
| <div class="jd-descrdiv">Creates a special binding key for the given implicit type.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| static |
| |
| boolean |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html#isAssignableFrom(com.google.inject.TypeLiteral<?>, com.google.inject.TypeLiteral<?>)">isAssignableFrom</a></span>(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> superLiteral, <a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> subLiteral) |
| |
| <div class="jd-descrdiv">Determines if the sub-type can be converted to the generic super-type via an identity or widening conversion.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| static |
| |
| boolean |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html#isConcrete(java.lang.Class<?>)">isConcrete</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a><?> clazz) |
| |
| <div class="jd-descrdiv">Determines if the given raw type represents a concrete type.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| static |
| |
| boolean |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html#isConcrete(com.google.inject.TypeLiteral<?>)">isConcrete</a></span>(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> literal) |
| |
| <div class="jd-descrdiv">Determines if the given generic type represents a concrete type.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| static |
| |
| boolean |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html#isImplicit(com.google.inject.TypeLiteral<?>)">isImplicit</a></span>(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> literal) |
| |
| <div class="jd-descrdiv">Determines if the given generic type represents an implicit binding.</div> |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| static |
| |
| boolean |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad"><a href="../../../../org/eclipse/sisu/inject/TypeArguments.html#isImplicit(java.lang.Class<?>)">isImplicit</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a><?> clazz) |
| |
| <div class="jd-descrdiv">Determines if the given raw type represents an implicit binding.</div> |
| |
| </td></tr> |
| |
| |
| |
| </table> |
| |
| |
| |
| |
| |
| |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| <table id="inhmethods" class="jd-sumtable"><tr><th> |
| <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> |
| <div style="clear:left;">Inherited Methods</div></th></tr> |
| |
| |
| <tr class="api apilevel-" > |
| <td colspan="12"> |
| <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" |
| ><img id="inherited-methods-java.lang.Object-trigger" |
| src="../../../../../assets/images/triangle-closed.png" |
| class="jd-expando-trigger-img" /></a> |
| From class |
| |
| <a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">java.lang.Object</a> |
| |
| <div id="inherited-methods-java.lang.Object"> |
| <div id="inherited-methods-java.lang.Object-list" |
| class="jd-inheritedlinks"> |
| </div> |
| <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> |
| <table class="jd-sumtable-expando"> |
| |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| |
| |
| <a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a> |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">clone</span>() |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| |
| |
| boolean |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">equals</span>(<a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a> arg0) |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| |
| |
| void |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">finalize</span>() |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| final |
| |
| |
| <a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a><?> |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">getClass</span>() |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| |
| |
| int |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">hashCode</span>() |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| final |
| |
| |
| void |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">notify</span>() |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| final |
| |
| |
| void |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">notifyAll</span>() |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| |
| |
| |
| <a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">toString</span>() |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| final |
| |
| |
| void |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">wait</span>() |
| |
| </td></tr> |
| |
| |
| |
| <tr class=" api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| final |
| |
| |
| void |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">wait</span>(long arg0, int arg1) |
| |
| </td></tr> |
| |
| |
| |
| <tr class="alt-color api apilevel-" > |
| <td class="jd-typecol"> |
| |
| |
| final |
| |
| |
| void |
| </td> |
| <td class="jd-linkcol" width="100%"> |
| <span class="sympad">wait</span>(long arg0) |
| |
| </td></tr> |
| |
| |
| </table> |
| </div> |
| </div> |
| </td></tr> |
| |
| |
| </table> |
| |
| |
| </div><!-- jd-descr (summary) --> |
| |
| <!-- Details --> |
| |
| |
| |
| |
| |
| |
| |
| |
| <!-- XML Attributes --> |
| |
| |
| <!-- Enum Values --> |
| |
| |
| <!-- Constants --> |
| |
| |
| <!-- Fields --> |
| |
| |
| <!-- Public ctors --> |
| |
| |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <!-- Protected ctors --> |
| |
| |
| |
| <!-- ========= METHOD DETAIL ======== --> |
| <!-- Public methdos --> |
| |
| <h2>Public Methods</h2> |
| |
| |
| |
| <a id="get(com.google.inject.TypeLiteral<?>)"></a> |
| |
| <div class="jd-details api apilevel-"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral[]</a><?> |
| </span> |
| <span class="sympad">get</span> |
| <span class="normal">(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> typeLiteral)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| |
| </div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Get all type arguments from a generic type, for example <code>[Foo,Bar]</code> from <code>Map<Foo,Bar></code>.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>typeLiteral</th> |
| <td>The generic type</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Array of type arguments |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <a id="get(com.google.inject.TypeLiteral<?>, int)"></a> |
| |
| <div class="jd-details api apilevel-"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> |
| </span> |
| <span class="sympad">get</span> |
| <span class="normal">(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> typeLiteral, int index)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| |
| </div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Get an indexed type argument from a generic type, for example <code>Bar</code> from <code>Map<Foo,Bar></code>.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>typeLiteral</th> |
| <td>The generic type</td> |
| </tr> |
| <tr> |
| <th>index</th> |
| <td>The argument index</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Indexed type argument; <code>TypeLiteral<Object></code> if the given type is a raw class |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <a id="implicitKey(java.lang.Class<T>)"></a> |
| |
| <div class="jd-details api apilevel-"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| <a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/Key.html">Key</a><T> |
| </span> |
| <span class="sympad">implicitKey</span> |
| <span class="normal">(<a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a><T> clazz)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| |
| </div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Creates a special binding key for the given implicit type.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>clazz</th> |
| <td>The implicit type</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li>Implicit binding key |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <a id="isAssignableFrom(com.google.inject.TypeLiteral<?>, com.google.inject.TypeLiteral<?>)"></a> |
| |
| <div class="jd-details api apilevel-"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">isAssignableFrom</span> |
| <span class="normal">(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> superLiteral, <a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> subLiteral)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| |
| </div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Determines if the sub-type can be converted to the generic super-type via an identity or widening conversion.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>superLiteral</th> |
| <td>The generic super-type</td> |
| </tr> |
| <tr> |
| <th>subLiteral</th> |
| <td>The generic sub-type</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li><code>true</code> if the sub-type can be converted to the generic super-type; otherwise <code>false</code></li></ul> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">See Also</h5> |
| <ul class="nolist"><li><code><a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html#isAssignableFrom(java.lang.Class<?>)">isAssignableFrom(Class)</a></code></li> |
| </ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <a id="isConcrete(java.lang.Class<?>)"></a> |
| |
| <div class="jd-details api apilevel-"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">isConcrete</span> |
| <span class="normal">(<a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a><?> clazz)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| |
| </div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Determines if the given raw type represents a concrete type.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>clazz</th> |
| <td>The raw type</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li><code>true</code> if the raw type is concrete; otherwise <code>false</code> |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <a id="isConcrete(com.google.inject.TypeLiteral<?>)"></a> |
| |
| <div class="jd-details api apilevel-"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">isConcrete</span> |
| <span class="normal">(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> literal)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| |
| </div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Determines if the given generic type represents a concrete type.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>literal</th> |
| <td>The generic type</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li><code>true</code> if the generic type is concrete; otherwise <code>false</code> |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <a id="isImplicit(com.google.inject.TypeLiteral<?>)"></a> |
| |
| <div class="jd-details api apilevel-"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">isImplicit</span> |
| <span class="normal">(<a href="http://google-guice.googlecode.com/git-history/3.0/javadoc/com/google/inject/TypeLiteral.html">TypeLiteral</a><?> literal)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| |
| </div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Determines if the given generic type represents an implicit binding.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>literal</th> |
| <td>The generic type</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li><code>true</code> if the generic type is implicit; otherwise <code>false</code> |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| <a id="isImplicit(java.lang.Class<?>)"></a> |
| |
| <div class="jd-details api apilevel-"> |
| <h4 class="jd-details-title"> |
| <span class="normal"> |
| public |
| static |
| |
| |
| |
| boolean |
| </span> |
| <span class="sympad">isImplicit</span> |
| <span class="normal">(<a href="http://docs.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a><?> clazz)</span> |
| </h4> |
| <div class="api-level"> |
| <div> |
| |
| </div> |
| |
| |
| |
| </div> |
| <div class="jd-details-descr"> |
| |
| <div class="jd-tagdata jd-tagdescr"><p>Determines if the given raw type represents an implicit binding.</p></div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Parameters</h5> |
| <table class="jd-tagtable"> |
| <tr> |
| <th>clazz</th> |
| <td>The raw type</td> |
| </tr> |
| </table> |
| </div> |
| <div class="jd-tagdata"> |
| <h5 class="jd-tagtitle">Returns</h5> |
| <ul class="nolist"><li><code>true</code> if the raw type is implicit; otherwise <code>false</code> |
| </li></ul> |
| </div> |
| |
| </div> |
| </div> |
| |
| |
| |
| |
| |
| <!-- ========= METHOD DETAIL ======== --> |
| |
| |
| |
| <!-- ========= END OF CLASS DATA ========= --> |
| <a id="navbar_top"></a> |
| |
| <div id="footer"> |
| Generated by <a href="http://code.google.com/p/doclava/">Doclava</a>. |
| </div> <!-- end footer --> |
| |
| </div> <!-- jd-content --> |
| |
| </div><!-- end doc-content --> |
| |
| </div> <!-- end body-content --> |
| |
| <script type="text/javascript"> |
| init(); /* initialize doclava-developer-docs.js */ |
| </script> |
| |
| </body> |
| </html> |