Example usage for Java java.lang.reflect AccessibleObject fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
T | getAnnotation(Class |
Annotation[] | getAnnotations() |
T[] | getAnnotationsByType(Class |
Class> | getClass() Returns the runtime class of this Object . |
Annotation[] | getDeclaredAnnotations() |
boolean | isAccessible() Get the value of the accessible flag for this reflected object. |
boolean | isAnnotationPresent(Class extends Annotation> annotationClass) |
void | setAccessible(boolean flag) Set the accessible flag for this reflected object to the indicated boolean value. |
void | setAccessible(AccessibleObject[] array, boolean flag) Convenience method to set the accessible flag for an array of reflected objects with a single security check (for efficiency). |