public class JavaReflectionWildcardType extends AbstractMetaWildcardType
Constructor and Description |
---|
JavaReflectionWildcardType(WildcardType wildcardType) |
Modifier and Type | Method and Description |
---|---|
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.
|
equals, hashCode, toString
public JavaReflectionWildcardType(WildcardType wildcardType)
public MetaType[] getLowerBounds()
MetaWildcardType
<?>
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}
public MetaType[] getUpperBounds()
MetaWildcardType
<?>
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}
public String getName()
MetaWildcardType
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.