Uses of Class
java.lang.reflect.AccessibleObject
Package
Description
Provides classes and interfaces for obtaining reflective information about
classes and objects.
-
Uses of AccessibleObject in java.lang.reflect
Modifier and TypeClassDescriptionclass
Constructor<T>
Constructor
provides information about, and access to, a single constructor for a class.class
A shared superclass for the common functionality ofMethod
andConstructor
.class
AField
provides information about, and dynamic access to, a single field of a class or an interface.class
AMethod
provides information about, and access to, a single method on a class or interface.Modifier and TypeMethodDescriptionstatic 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).