package
java.lang.reflect


Hide details Login
Java SE 6
  

Provides classes and interfaces for obtaining reflective information about classes and objects. Reflection allows programmatic access to information about the fields, methods and constructors of loaded classes, and the use of reflected fields, methods, and constructors to operate on their underlying counterparts, within security restrictions.

AccessibleObject allows supression of access checks if the necessary ReflectPermission is available.

Array provides static methods to dynamically create and access arrays.

Classes in this package, along with java.lang.Class accommodate applications such as debuggers, interpreters, object inspectors, class browsers, and services such as Object Serialization and JavaBeans that need access to either the public members of a target object (based on its runtime class) or the members declared by a given class.
sinceJDK1.1

Interfaces
AnnotatedElement
GenericArrayType
GenericDeclaration
InvocationHandler
Member
ParameterizedType
Type
TypeVariable
WildcardType

Errors
GenericSignatureFormatError

Exceptions
InvocationTargetException
MalformedParameterizedTypeException
UndeclaredThrowableException

Classes
AccessibleObject
Array
Constructor
Field
Method
Modifier
Proxy
ReflectPermission