Uses of Class
java.lang.reflect.AccessibleObject
Package | Description |
---|---|
java.lang.reflect |
Provides classes and interfaces for obtaining reflective information about
classes and objects.
|
-
Uses of AccessibleObject in java.lang.reflect
Subclasses of AccessibleObject in java.lang.reflect Modifier and Type Class Description class
Constructor<T>
Constructor
provides information about, and access to, a single constructor for a class.class
Executable
A shared superclass for the common functionality ofMethod
andConstructor
.class
Field
AField
provides information about, and dynamic access to, a single field of a class or an interface.class
Method
AMethod
provides information about, and access to, a single method on a class or interface.Methods in java.lang.reflect with parameters of type AccessibleObject Modifier and Type Method Description static void
AccessibleObject. setAccessible(AccessibleObject[] array, boolean flag)
Convenience method to set theaccessible
flag for an array of reflected objects with a single security check (for efficiency).