Next: Other Reflexive Components
Up: The API
Previous: java.lang.reflect.Method
  Contents
- Member - an interface implemented by Field,Method and Constructor, it
has methods: getName(), getModifiers(), getDeclaringClass()
- AccessibleObject - the superclass of Field, Method and
Constructor from Java 1.2 onwards. See ``Overriding Security''
section below.
- Integer, Byte, Short, Void, Boolean, etc. - wrappers for primitives
- Constructor - somewhat similar to a Method. It can be invoked with arguments
and returns a new instance of the corresponding class.
- Array - a collection of static methods
- Modifier - constants representing public/private/...
- InvocationTargetException - used to wrap exceptions thrown by underlying
methods. See discussion of Method::invoke() above.
- ReflectPermission - The Permission class for reflective
operations. A ReflectPermission is a named permission and has no
actions. The only name currently defined is suppressAccessChecks,
which allows suppressing the standard Java language access checks -
for public, default (package) access, protected, and private members
- performed by reflected objects at their point of use.
- Package - represents information about a package in which
a class resides such as version and author. An
instance of this class can be obtained by Class::getPackage().
- Proxy - Allows one to create classes at runtime that
implement one or more interfaces- a somewhat strange, ``advanced,
rarely needed feature.'' [JPL]
Next: Other Reflexive Components
Up: The API
Previous: java.lang.reflect.Method
  Contents
Nadeem Hamid
2000-07-24