Interfaces
AnnotatedElement | Represents an annotated element of the program currently running in this VM. |
GenericArrayType | GenericArrayType represents an array type whose component
type is either a parameterized type or a type variable. |
GenericDeclaration | A common interface for all entities that declare type variables. |
InvocationHandler | InvocationHandler is the interface implemented by
the invocation handler of a proxy instance. |
Member | Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor. |
ParameterizedType | ParameterizedType represents a parameterized type such as Collection<String>. |
Type | Type is the common superinterface for all types in the Java programming language. |
TypeVariable<D extends GenericDeclaration> | TypeVariable is the common superinterface for type variables of kinds. |
WildcardType | WildcardType represents a wildcard type expression, such as
? , ? extends Number , or ? super Integer . |
Classes
Array | The Array class provides static methods to dynamically create and
access Java arrays. |
Modifier | The Modifier class provides static methods and
constants to decode class and member access modifiers. |
Proxy | Proxy provides static methods for creating dynamic proxy
classes and instances, and it is also the superclass of all
dynamic proxy classes created by those methods. |
ReflectPermission | Legacy security code; do not use. |
Exceptions
InvocationTargetException | InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor. |
MalformedParameterizedTypeException | Thrown when a semantically malformed parameterized type is encountered by a reflective method that needs to instantiate it. |
UndeclaredThrowableException | 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. |
Errors
GenericSignatureFormatError | Thrown when a syntactically malformed signature attribute is encountered by a reflective method that needs to interpret the generic signature information for a type, method or constructor. |