|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetaWildcardType
Represents a wildcard type such as ?
, ? extends List
or
? super MyType
.
Method Summary | |
---|---|
MetaType[] |
getLowerBounds()
Returns the lower bounds of this wildcard type. |
String |
getName()
Returns the Java source code representation of this wildcard, for example "? extends java.util.Collection" or "? super org.xyz.Foo". |
MetaType[] |
getUpperBounds()
Returns the upper bounds of this wildcard type. |
String |
toString()
Equivalent to getName() . |
Method Detail |
---|
String getName()
getName
in interface MetaType
String toString()
getName()
.
toString
in class Object
MetaType[] getLowerBounds()
<?>
has no lower bounds
<? extends List>
has no lower bounds
<? super List>
has a lower bound of {List}
<? super List & Futzable>
has a lower bound of
{List, Futzable}
MetaType[] getUpperBounds()
<?>
has an upper bound of java.lang.Object
<? extends List>
has an upper bound of {List}
<? super List>
has an upper bound of java.lang.Object
<? extends List & Futzable>
upper bounds of {List, Futzable}
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |