- of
Returns a TypeDescriptor representing the given type.
- getRawType
Returns the Class underlying the Type represented by this TypeDescriptor.
- isSubtypeOf
Return true if this type is a subtype of the given type.
- equals
Two type descriptor are equal if and only if they represent the same type.
- getType
Returns the Type represented by this TypeDescriptor.
- isSupertypeOf
Returns true if this type is assignable from the given type.
- resolveType
Returns a TypeDescriptor representing the given type, with type variables
resolved according to the
- where
Returns a new TypeDescriptor where the type variable represented by
typeParameter are substituted by
- getArgumentTypes
Returns a list of argument types for the given method, which must be a part of
the class.
- getComponentType
Returns the component type if this type is an array type, otherwise returns
null.
- getEnclosingInstance
Returns the enclosing instance if the field is synthetic and it is able to
access it, or null if not
- getInterfaces
Returns a set of TypeDescriptors, one for each interface implemented by this
class.