API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.reflect. AccessibleObject View Source
Author(s)
Since
1.2
Version
Serial
Hierarchy
 Object
      AccessibleObject
Implements
 AnnotatedElement
Subclasses
Description
public class AccessibleObject
  The AccessibleObject class is the base class for Field, Method and Constructor objects.
Constructors
protected AccessibleObject ()
Constructor: only used by the Java Virtual Machine.
Methods
Hide/Show inherited methods
public T getAnnotation (Class< T> annotationClass) [Specified in AnnotatedElement]
 
public Annotation getAnnotations () [Specified in AnnotatedElement]
 
public Annotation getDeclaredAnnotations () [Specified in AnnotatedElement]
 
public boolean isAccessible ()
  Get the value of the accessible flag for this object.
public boolean isAnnotationPresent (Class<Annotation> annotationClass) [Specified in AnnotatedElement]
 
publicstatic void setAccessible (AccessibleObject array, boolean flag) throws SecurityException
  Convenience method to set the accessible flag for an array of objects with a single security check (for efficiency).
public void setAccessible (boolean flag) throws SecurityException
  Set the accessible flag for this object to the indicated boolean value.
Fields
Hide/Show inherited fields
pack-private boolean override
pack-privatefinalstatic sun.reflect.ReflectionFactory reflectionFactory
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar