public interface JavaTypeVariable extends JavaType
Type variables are not interface, enum, annotation, primitive, or array types. A type variable will return its variable name when asked for its qualified or raw name.
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<JavaType> |
getBounds()
Corresponds to java/lang/reflect/TypeVariable.getBounds().
|
JavaMember |
getOwningMember()
Type variables can be owned by either a class or a method.
|
java.util.Collection<UnresolvedType> |
getUnresolvedBounds()
This method will return the bounds as unresolved types.
|
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, isSubtypeOfgetActualTypeArguments, getTypeParameter, getTypeParameters, hasActualTypeArguments, hasTypeParametersgetOwningClass, isAbstract, isPackagePrivate, isPrivate, isProtected, isPublic, isStaticgetResolvedType, getUnresolvedTypegetAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotationsgetElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfojava.util.Collection<JavaType> getBounds()
Returns the explicitly declared bounds. If no explicit bounds were declared, an empty Collection is returned, which implicitly means that the bounds is java/lang/Object.
java.util.Collection<UnresolvedType> getUnresolvedBounds()
JavaMember getOwningMember()