Generic.Sort#NON_GENERIC .
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | TypeDescription.AbstractBase
An abstract base implementation of a type description. |
| public static class | TypeDescription.ArrayProjection
A projection for an array type based on an existing |
| public static class | TypeDescription.ForLoadedType
A type description implementation that represents a loaded type. |
| public static class | TypeDescription.ForPackageDescription
A type representation of a package description. |
| public static interface | TypeDescription.Generic
Represents a generic type of the Java programming language. |
| public static class | TypeDescription.Latent
A latent type description for a type without methods or fields. |
| public static class | TypeDescription.LazyProxy
A lazy proxy for representing a |
| public static class | TypeDescription.SuperTypeLoading
A delegating type description that always attempts to load the super types of a delegate type. |
| Modifier and Type | Field and Description |
|---|---|
| public static final TypeList. | ARRAY_INTERFACES
A list of interfaces that are implicitly implemented by any array type. |
| public static final TypeDescription | CLASS
A representation of the |
| public static final TypeDescription | OBJECT
A representation of the |
| public static final TypeDescription | STRING
A representation of the |
| public static final TypeDescription | THROWABLE
A representation of the |
| public static final TypeDescription | UNDEFINED
Hides net. null in order
to resemble the Java reflection API which returns null and is intuitive to many Java developers.
|
| public static final TypeDescription | VOID
A representation of the |
| Modifier and Type | Method and Description |
|---|---|
| public TypeDescription | Returns: A description of this type in its boxed form.Returns a description of this type that represents this type as a boxed type for primitive types, unless its |
| public TypeDescription | |
| public int | Returns: The type's actual modifiers.true if the modifier's super flag should be set.Returns the type's actual modifiers as present in the class file. |
| public String | Returns: The canonical name of this type. Might benull.Returns the canonical name of this type if it exists. |
| public ClassFileVersion | Returns: This type's class file version ornull if it cannot be resolved.Attempts to resolve the class file version of this type. |
| public TypeDescription | getComponentType()
Redeclares net. Returns the component type of this type. |
| public FieldList | getDeclaredFields()
Redeclares net. |
| public MethodList | getDeclaredMethods()
Redeclares net. |
| public TypeList | Returns: A list of types that are declared within this type.Returns a list of types that are declared by this type. |
| public TypeDescription | getDeclaringType()
Redeclares net. |
| public Object | Returns: This types default value.Returns the default value for this type, i.e. the zero value for a primitive type and |
| public MethodDescription. | Returns: A description of the enclosing method of this type ornull if there is no such method.Returns a description of the method that encloses this type. |
| public TypeDescription | Returns: A description of the enclosing type of this type ornull if there is no such type.Returns a description of this type's enclosing type if any. |
| public AnnotationList | Returns: A list of all inherited annotations.Returns the annotations that this type declares or inherits from super types. |
| public int | Returns: The number of outer classes relatively to this type.Returns the amount of outer classes this type defines. |
| public String | Returns: The long form of the simple name of this type.Returns a form of a type's simple name which only shortens the package name but not the names of outer classes. |
| public TypeDescription | |
| public TypeList | Returns: A list of members of this nest group.Returns a list of members that are part of a nesting group. |
| public PackageDescription | Returns: The package of the type described by this instance ornull if the described type
is a primitive type or an array.Returns the package of the type described by this instance or |
| public TypeList | Returns: The list of permitted subtypes or an empty list if this type is not sealed.Returns the list of permitted direct subclasses if this class is a sealed class. |
| public RecordComponentList | getRecordComponents()
Redeclares net. |
| public String | |
| public boolean | Returns: true if instances of this type can be returned from an annotation method.Checks if instances of this type can be returned from an annotation method. |
| public boolean | Returns: true if instances of this type can be used for describing an annotation value.Checks if instances of this type can be used for describing an annotation value. |
| public boolean | Returns: true if instances of this type can be used for describing the given annotation value..The value that is supposed to describe the annotation value for this instance. value)Checks if instances of this type can be used for describing the given annotation value. |
| public boolean | Returns: true if this type description represents an anonymous type.Checks if this type description represents an anonymous type. |
| public boolean | Returns: true if this type is assignable from type.The type of interest. type)Checks if this type is assignable from the type described by this instance, for example for
|
| public boolean | Returns: true if this type is assignable from type.The type of interest. typeDescription)Checks if this type is assignable from the type described by this instance, for example for
|
| public boolean | Returns: true if this type is assignable to type.The type of interest. type)Checks if this type is assignable from the type described by this instance, for example for
|
| public boolean | Returns: true if this type is assignable to type.The type of interest. typeDescription)Checks if this type is assignable from the type described by this instance, for example for
|
| public boolean | Returns: true if this type represents a compile-time constant.Indicates if this type represents a compile-time constant, i.e. |
| public boolean | Returns: true if this type and the supplied type are in a type hierarchy with each other.The type of interest. type)Returns |
| public boolean | Returns: true if this type and the supplied type are in a type hierarchy with each other.The type of interest. typeDescription)Returns |
| public boolean | Returns: true if this class is an inner class.Indicates if this class is an inner class. |
| public boolean | Returns: true if the object is an instance of the type described by this instance.The object of interest. value)Checks if |
| public boolean | Returns: true if this type description represents a local type.Checks if this type description represents a local type. |
| public boolean | Returns: true if this type description represents a member type.Checks if this type description represents a member type. |
| public boolean | Returns: true if this class is a nested class.Indicates if this class is a nested class. |
| public boolean | Returns: true if this class is a nest group's host.Checks if this class is the host of a nest group. |
| public boolean | Returns: true if this type and the supplied type are members of the same nest group.The type for which to check if it is a member of the same nest group. type)Checks if this type and the supplied type are members of the same nest group. |
| public boolean | Returns: true if this type and the supplied type are members of the same nest group.The type for which to check if it is a member of the same nest group. typeDescription)Checks if this type and the supplied type are members of the same nest group. |
| public boolean | Returns: true if this type represents a package description.Checks if this type represents a class that is a place holder for a package description. |
| public boolean | Returns: true if this type represents a wrapper type.Checks if this type represents a wrapper type for a primitive type. |
| public boolean | Returns: true if this type and the given type are in the same package.The type of interest. typeDescription)Checks if two types are defined in the same package. |
| public boolean | Returns: true if this class is a sealed class that only permitts a specified range of subclasses.Returns |