final class
Represents a Java array type.
final class
class
Represents a parameterized type.
final class
Represents a primitive Java type.
final class
Represents a resolved type parameter or type argument.
final class
Represents a reference to a type variable in the bound of a recursive type parameter.
final class
Represents a type variable that could not be resolved during indexing.
class
Represents the void pseudo-type, which may appear in a method signature.
class
Represents a generic wildcard.
Returns the class name, in
Type form, that represents a Java
Class used by this value.
Returns an array of class types representing the underlying class array value.
Returns the component type of the array.
Returns the constituent type of the array.
Creates a type that corresponds to the given clazz.
Creates a type of the specified kind and
name in the
Class.getName()
format.
Creates an instance of specified type with given type annotations.
Returns the element type of the array.
Returns the upper bound of this wildcard (e.g.
ParameterizedType.owner()
Returns the owner (enclosing) type of this parameterized type, if the owner is parameterized
or has type annotations.
Returns the type of the given parameter.
Returns the receiver type of this method (a declaration of the "this" reference), if specified.
Returns the return type of the method.
Returns this method's return parameter type.
Returns the lower bound of this wildcard (e.g.
Returns a super type represented by the extends clause of this class.
Returns the type which contains the respective annotation.
Returns the Type declared on this field.
MethodParameterInfo.type()
Returns the type of this parameter.
RecordComponentInfo.type()
Returns the type of this record component.
Returns the list of type arguments used to instantiate this parameterized type.
Returns a list of types of all parameters present on this method, based on the method descriptor.
Returns the list of throwable classes declared to be thrown by this method.
Returns the list of types in the implements clause of this class.
Returns the list of parameters declared by this method or constructor.
Returns a list of types of parameters declared on this method, in declaration order.
Adds a class-valued annotation member with given name.
Adds a class array-valued annotation member with given name.
Create a builder of an array type.
ArrayType.create(Type constituent,
int dimensions)
Create a new array type instance with the specified number of dimensions
and the specified constituent type.
Construct a new mock Field instance.
Construct a new mock Method instance.
Construct a new mock Method instance.
Construct a new mock Method instance.
Create an instance of a parameterized type with given generic clazz and
given type arguments.
Create an instance of a parameterized type with given generic clazz and
given type arguments.
Create an instance of a parameterized type with given name, which denotes
a generic class, and given type arguments.
Create an instance of a parameterized type with given name, which denotes
a generic class, and given type arguments.
Create an instance of a parameterized type with given name, which denotes
a generic class, and given type arguments.
Create an instance of a parameterized type with given name, which denotes
a generic class, and given type arguments.
Constructs a new mock record component info
WildcardType.create(Type bound,
boolean isExtends)
Create a new wildcard type with a lower bound.
Create a new wildcard type with an upper bound.
static void
Appends a bytecode descriptor of a single type to given StringBuilder.
static void
Appends a generic signature of a single type to given StringBuilder.
Loads a class corresponding to the raw type of given
Type from the thread context classloader.
Retrieves a method based on its signature, which includes a method name and a parameter type list.
Returns an equivalence key for given type.
Adds a class-valued annotation member called value.
AnnotationInstanceBuilder.value(Type[] values)
Adds a class array-valued annotation member called value.
Returns a bytecode descriptor of the type introduced by this class.
Returns a bytecode descriptor of this element.
Returns a bytecode descriptor of this field.
Returns a bytecode descriptor of this method.
Returns a bytecode descriptor of this record component.
Returns the bytecode descriptor of this type (or its erasure in case of generic types).
static void
Appends a bytecode descriptor of a single type to given StringBuilder.
static void
Appends a generic signature of a single type to given StringBuilder.
static void
Appends a generic signature of a type parameter list, including the < at the beginning and
> at the end, to given StringBuilder.
Returns a generic signature of this class, possibly without any generic-related information.
Returns a generic signature of this field, possibly without any generic-related information.
Returns a generic signature of this declaration, possibly without any generic-related information.
Returns a generic signature of this method, possibly without any generic-related information.
Returns a generic signature of this record component, possibly without any generic-related information.
Retrieves a method based on its signature, which includes a method name and a parameter type list.
MethodInfo.parameterTypes()