Package com.google.gwt.core.ext.typeinfo
Interface JWildcardType
-
- All Superinterfaces:
HasAnnotations,JClassType,JType
public interface JWildcardType extends JClassType
Represents a wildcard type argument to a parameterized type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJWildcardType.BoundTypeType of wildcard bound.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JClassTypegetBaseType()JWildcardType.BoundTypegetBoundType()JClassTypegetFirstBound()JClassType[]getLowerBounds()Returns the lower bounds of this wildcard type.JClassTypegetUpperBound()JClassType[]getUpperBounds()Returns the upper bounds of this wildcard type.-
Methods inherited from interface com.google.gwt.core.ext.typeinfo.HasAnnotations
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
-
Methods inherited from interface com.google.gwt.core.ext.typeinfo.JClassType
asParameterizationOf, findAnnotationInTypeHierarchy, findConstructor, findField, findMethod, findNestedType, getConstructor, getConstructors, getEnclosingType, getErasedType, getField, getFields, getFlattenedSupertypeHierarchy, getImplementedInterfaces, getInheritableMethods, getMethod, getMethods, getName, getNestedType, getNestedTypes, getOracle, getOverloads, getOverridableMethods, getPackage, getSubtypes, getSuperclass, isAbstract, isAssignableFrom, isAssignableTo, isDefaultInstantiable, isEnhanced, isFinal, isMemberType, isPackageProtected, isPrivate, isProtected, isPublic, isStatic, setEnhanced
-
Methods inherited from interface com.google.gwt.core.ext.typeinfo.JType
getJNISignature, getLeafType, getParameterizedQualifiedSourceName, getQualifiedBinaryName, getQualifiedSourceName, getSimpleSourceName, isAnnotation, isArray, isClass, isClassOrInterface, isEnum, isGenericType, isInterface, isParameterized, isPrimitive, isRawType, isTypeParameter, isWildcard
-
-
-
-
Method Detail
-
getBaseType
JClassType getBaseType()
-
getBoundType
JWildcardType.BoundType getBoundType()
-
getFirstBound
JClassType getFirstBound()
-
getLowerBounds
JClassType[] getLowerBounds()
Returns the lower bounds of this wildcard type. If no lower bounds were declared, an empty array is returned.- Returns:
- the lower bounds of this wildcard type
-
getUpperBound
JClassType getUpperBound()
-
getUpperBounds
JClassType[] getUpperBounds()
Returns the upper bounds of this wildcard type. If no upper bounds were declared, an array containingObjectis returned.- Returns:
- the upper bounds of this wildcard type
-
-