public interface JavaWildcardType extends JavaType
Wildcard types are not interface, enum, annotation, primitive, or array types. Note that a WildcardType does not have a proper name and "?" will be returned for its name, qualified name, and raw name.
Intersection types are represented as wildcard types.
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
java.util.Collection<JavaType> |
getLowerBounds()
Lower bounds are "super" bounds.
|
java.util.Collection<JavaType> |
getUpperBounds()
Upper bounds are "extends" bounds.
|
equals, getArrayDimensions, getBaseComponentType, getClass, getClasses, getClinitMethod, getClosestClass, getComponentType, getDeclaredAnonymousClasses, getDeclaredClass, getDeclaredClasses, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredLocalClasses, getDeclaredMethod, getDeclaredMethods, getDeclaredMethods, getDescriptor, getField, getFields, getHierarchy, getInterfaces, getMethod, getMethods, getMethods, getName, getPackage, getPackageName, getQualifiedName, getRawName, getSignature, getSuperclass, getThisValue, getTypeAnnotations, getTypeErasure, getTypeSignature, getUniqueIdentifier, getUnqualifiedName, getUnresolvedInterfaces, getUnresolvedSuperclass, getURL, getVMName, isAnnotation, isAnonymousClass, isArray, isAssignableFrom, isEnum, isErasedType, isExported, isInterface, isLocalClass, isMemberClass, isPrimitive, isSubtypeOf
getActualTypeArguments, getTypeParameter, getTypeParameters, hasActualTypeArguments, hasTypeParameters
getOwningClass, isAbstract, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic
getResolvedType, getUnresolvedType
getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotations
getElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfo
java.util.Collection<JavaType> getUpperBounds()
java.util.Collection<JavaType> getLowerBounds()
Note: This is not like java/lang/reflect/WildcardType which returns the primitive type "null" if no lower bound was declared.