java.lang.reflect (Java SE 24 & JDK 24)

Represents a JVM access or module-related flag on a runtime member, such as a class, field, or method.

A location within a class file where flags can be applied.

The AccessibleObject class is the base class for Field, Method, and Constructor objects (known as reflected objects).

AnnotatedArrayType represents the potentially annotated use of an array type, whose component type may itself represent the annotated use of a type.

Represents an annotated construct of the program currently running in this VM.

AnnotatedParameterizedType represents the potentially annotated use of a parameterized type, whose type arguments may themselves represent annotated uses of types.

AnnotatedType represents the potentially annotated use of a type in the program currently running in this VM.

AnnotatedTypeVariable represents the potentially annotated use of a type variable, whose declaration may have bounds which themselves represent annotated uses of types.

AnnotatedWildcardType represents the potentially annotated use of a wildcard type argument, whose upper or lower bounds may themselves represent annotated uses of types.

The Array class provides static methods to dynamically create and access Java arrays.

Class file format versions of the Java virtual machine.

Constructor provides information about, and access to, a single constructor for a class.

A Field provides information about, and dynamic access to, a single field of a class or an interface.

GenericArrayType represents an array type whose component type is either a parameterized type or a type variable.

A common interface for all entities that declare type variables.

Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a class or interface, method or constructor.

Thrown when Java language access checks cannot be suppressed.

InvocationHandler is the interface implemented by the invocation handler of a proxy instance.

InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.

Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it.

Thrown when the java.lang.reflect package attempts to read method parameters from a class file and determines that one or more parameters are malformed.

Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor.

A Method provides information about, and access to, a single method on a class or interface.

The Modifier class provides static methods and constants to decode class and member access modifiers.

Information about method parameters.

ParameterizedType represents a parameterized type such as Collection<String>.

Proxy provides static methods for creating objects that act like instances of interfaces but allow for customized method invocation.

A RecordComponent provides information about, and dynamic access to, a component of a record class.

The Permission class for reflective operations.

Type is the common superinterface for all types in the Java programming language.

TypeVariable is the common superinterface for type variables of kinds.

Thrown by a method invocation on a proxy instance if its invocation handler's invoke method throws a checked exception (a Throwable that is not assignable to RuntimeException or Error) that is not assignable to any of the exception types declared in the throws clause of the method that was invoked on the proxy instance and dispatched to the invocation handler.

WildcardType represents a wildcard type expression, such as ?, ? extends Number, or ? super Integer.