| Modifier and Type | Field and Description |
|---|---|
| protected final Class | |
| protected final TypeBindings | _typeBindings
Type bindings active when resolving members (methods, fields, constructors) of this type |
| protected static final RawConstructor[] | |
| protected static final RawField[] | |
| protected static final RawMethod[] | |
| public static final ResolvedType[] |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected StringBuilder | |
| protected StringBuilder | |
| protected StringBuilder | |
| protected StringBuilder | |
| protected RawConstructor[] | |
| protected RawField[] | |
| protected RawMethod[] | |
| public abstract StringBuilder | |
| public abstract StringBuilder | |
| public abstract StringBuilder | |
| public abstract StringBuilder | |
| public final boolean | canCreateSubtype(Class<?> subtype)
Method that can be used to check if call to |
| public abstract boolean | canCreateSubtypes()
Method that can be used to check if call to |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public ResolvedType | findSupertype(Class<?> erasedSupertype)
Method for finding super type of this type that has specified type erased signature. |
| public abstract ResolvedType | getArrayElementType()
Method that can be used to access element type of array types; will return null for non-array types, and non-null type for array types. |
| public String | getBriefDescription()
Human-readable brief description of type, which does not include information about super types. |
| public List | |
| public String | getErasedSignature()
Method that returns type erased signature of the type; suitable as non-generic signature some packages need |
| public Class | |
| public String | getFullDescription()
Human-readable full description of type, which includes specification of super types (in brief format) |
| public abstract List | Returns: List of interfaces this type implements, if any; empty list if none (nevernull).Returns ordered list of interfaces (in declaration order) that this type directly implements. |
| public List | |
| public List | |
| public abstract ResolvedType | getParentClass()
Returns parent class of this type, if it has one; primitive types
and interfaces have no parent class, nor does Object type
|
| public abstract ResolvedType | getSelfReferencedType()
Accessor that must be used to find out actual type in
case of "self-reference"; case where type refers
recursive to itself (like, |
| public String | getSignature()
Method that returns full generic signature of the type; suitable as signature for things like ASM package. |
| public List | |
| public List | |
| public TypeBindings | getTypeBindings()
Method for accessing bindings of type variables to resolved types in context of this type. |
| public List | getTypeParameters()
Returns list of generic type declarations for this type, in order they are declared in class description. |
| public int | |
| public abstract boolean | |
| public abstract boolean | |
| public final boolean | |
| public final boolean | |
| public abstract boolean | |
| public abstract boolean | isPrimitive()
Method that indicates whether this type is one of small number of primitive Java types; not including array types of primitive types but just basic primitive types. |
| public String | |
| public List | Returns: List of type parameters for specified supertype (which may be empty, if supertype is not a parametric type); null if specified type is not a super type of this typeMethod that will try to find type parameterization this type has for specified super type |
| _erasedType | back to summary |
|---|---|
| protected final Class<?> _erasedType | |
| _typeBindings | back to summary |
|---|---|
| protected final TypeBindings _typeBindings Type bindings active when resolving members (methods, fields, constructors) of this type | |
| NO_CONSTRUCTORS | back to summary |
|---|---|
| protected static final RawConstructor[] NO_CONSTRUCTORS | |
| NO_FIELDS | back to summary |
|---|---|
| protected static final RawField[] NO_FIELDS | |
| NO_METHODS | back to summary |
|---|---|
| protected static final RawMethod[] NO_METHODS | |
| NO_TYPES | back to summary |
|---|---|
| public static final ResolvedType[] NO_TYPES | |
| ResolvedType | back to summary |
|---|---|
| protected ResolvedType(Class<?> cls, TypeBindings bindings) | |
| _appendClassDescription | back to summary |
|---|---|
| protected StringBuilder _appendClassDescription(StringBuilder sb) | |
| _appendClassName | back to summary |
|---|---|
| protected StringBuilder _appendClassName(StringBuilder sb) | |
| _appendClassSignature | back to summary |
|---|---|
| protected StringBuilder _appendClassSignature(StringBuilder sb) | |
| _appendErasedClassSignature | back to summary |
|---|---|
| protected StringBuilder _appendErasedClassSignature(StringBuilder sb) | |
| _getConstructors | back to summary |
|---|---|
| protected RawConstructor[] _getConstructors() | |
| _getFields | back to summary |
|---|---|
protected RawField[] _getFields(boolean statics)
| |
| _getMethods | back to summary |
|---|---|
protected RawMethod[] _getMethods(boolean statics)
| |
| appendBriefDescription | back to summary |
|---|---|
| public abstract StringBuilder appendBriefDescription(StringBuilder sb) | |
| appendErasedSignature | back to summary |
|---|---|
| public abstract StringBuilder appendErasedSignature(StringBuilder sb) | |
| appendFullDescription | back to summary |
|---|---|
| public abstract StringBuilder appendFullDescription(StringBuilder sb) | |
| appendSignature | back to summary |
|---|---|
| public abstract StringBuilder appendSignature(StringBuilder sb) | |
| canCreateSubtype | back to summary |
|---|---|
| public final boolean canCreateSubtype(Class<?> subtype) Method that can be used to check if call to | |
| canCreateSubtypes | back to summary |
|---|---|
| public abstract boolean canCreateSubtypes() Method that can be used to check if call to | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findSupertype | back to summary |
|---|---|
| public ResolvedType findSupertype(Class<?> erasedSupertype) Method for finding super type of this type that has specified type erased signature. If supertype is an interface which is implemented using multiple inheritance paths, preference is given to interfaces implemented "highest up the stack" (directly implemented interfaces over interfaces superclass implements). | |
| getArrayElementType | back to summary |
|---|---|
| public abstract ResolvedType getArrayElementType() Method that can be used to access element type of array types; will return null for non-array types, and non-null type for array types. | |
| getBriefDescription | back to summary |
|---|---|
| public String getBriefDescription() Human-readable brief description of type, which does not include information about super types. | |
| getConstructors | back to summary |
|---|---|
| public List | |
| getErasedSignature | back to summary |
|---|---|
| public String getErasedSignature() Method that returns type erased signature of the type; suitable as non-generic signature some packages need | |
| getErasedType | back to summary |
|---|---|
| public Class Returns type-erased Class<?> that this resolved type has. | |
| getFullDescription | back to summary |
|---|---|
| public String getFullDescription() Human-readable full description of type, which includes specification of super types (in brief format) | |
| getImplementedInterfaces | back to summary |
|---|---|
| public abstract List Returns ordered list of interfaces (in declaration order) that this type directly implements. Note returned list does NOT include transitively implemented types (that is, interfaces implemented by parent classes or interfaces).
| |
| getMemberFields | back to summary |
|---|---|
| public List | |
| getMemberMethods | back to summary |
|---|---|
| public List | |
| getParentClass | back to summary |
|---|---|
| public abstract ResolvedType getParentClass() Returns parent class of this type, if it has one; primitive types
and interfaces have no parent class, nor does Object type
| |
| getSelfReferencedType | back to summary |
|---|---|
| public abstract ResolvedType getSelfReferencedType() Accessor that must be used to find out actual type in
case of "self-reference"; case where type refers
recursive to itself (like, | |
| getSignature | back to summary |
|---|---|
| public String getSignature() Method that returns full generic signature of the type; suitable as signature for things like ASM package. | |
| getStaticFields | back to summary |
|---|---|
| public List | |
| getStaticMethods | back to summary |
|---|---|
| public List | |
| getTypeBindings | back to summary |
|---|---|
| public TypeBindings getTypeBindings() Method for accessing bindings of type variables to resolved types in context
of this type. It has same number of entries as return List of
| |
| getTypeParameters | back to summary |
|---|---|
| public List Returns list of generic type declarations for this type, in order they are declared in class description. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isAbstract | back to summary |
|---|---|
| public abstract boolean isAbstract() | |
| isArray | back to summary |
|---|---|
| public abstract boolean isArray() Method that indicates whether this type is an array type. | |
| isConcrete | back to summary |
|---|---|
| public final boolean isConcrete() | |
| isInstanceOf | back to summary |
|---|---|
| public final boolean isInstanceOf(Class<?> type) | |
| isInterface | back to summary |
|---|---|
| public abstract boolean isInterface() | |
| isPrimitive | back to summary |
|---|---|
| public abstract boolean isPrimitive() Method that indicates whether this type is one of small number of primitive Java types; not including array types of primitive types but just basic primitive types. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| typeParametersFor | back to summary |
|---|---|
| public List Method that will try to find type parameterization this type has for specified super type
| |