| Package | Description | 
|---|---|
| java.lang.reflect | Provides classes and interfaces for obtaining reflective
 information about classes and objects. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Constructor<T>Constructorprovides information about, and access to, a single
 constructor for a class. | 
| class  | ExecutableA shared superclass for the common functionality of  MethodandConstructor. | 
| class  | FieldA  Fieldprovides information about, and dynamic access to, a
 single field of a class or an interface. | 
| class  | MethodA  Methodprovides information about, and access to, a single method
 on a class or interface. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | AccessibleObject. setAccessible(AccessibleObject[] array,
             boolean flag)Convenience method to set the  accessibleflag for an
 array of objects with a single security check (for efficiency). | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.