Skip to content

Most visited

Recently visited

navigation
Added in API level 1

java.lang.reflect

Interfaces

AnnotatedElement This interface provides reflective access to annotation information. 
GenericArrayType This interface represents an array type with a component type that is either a parameterized type or a type variable. 
GenericDeclaration Common interface for language constructs that declare type parameters. 
InvocationHandler Implementors of this interface dispatch methods invoked on proxy instances. 
Member Common interface providing access to reflective information on class members. 
ParameterizedType This interface represents a parameterized type such as 'Set<String>'
Type Common interface implemented by all Java types. 
TypeVariable<D extends GenericDeclaration> This interface represents a type variables such as 'T' in 'public interface Comparable', the bounded 'T' in 'public interface A' or the multiple bounded 'T' in 'public interface B'
WildcardType A pattern type, such as the upper bounded wildcard ? extends Closeable or the lower bounded wildcard ? super String

Classes

AccessibleObject AccessibleObject is the superclass of all member reflection classes (Field, Constructor, Method). 
Array Provides static methods to create and access arrays dynamically. 
Constructor<T> This class represents a constructor. 
Field This class represents a field. 
Method This class represents a method. 
Modifier This class provides static methods to decode class and member modifiers. 
Proxy Proxy defines methods for creating dynamic proxy classes and instances. 
ReflectPermission Legacy security code; do not use. 

Exceptions

InvocationTargetException This class provides a wrapper for an exception thrown by a Method or Constructor invocation. 
MalformedParameterizedTypeException Indicates that a malformed parameterized type has been encountered by a reflective method. 
UndeclaredThrowableException This class provides a wrapper for an undeclared, checked exception thrown by an InvocationHandler. 

Errors

GenericSignatureFormatError Indicates that a malformed signature has been encountered via a reflective method. 
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.