Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
package

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.