Documentation Contents

# Java Reflection API

Reflection enables Java code to discover information about the fields, methods and constructors of loaded classes, and to use reflected fields, methods, and constructors to operate on their underlying counterparts, within security restrictions. The API accommodates applications that need access to either the public members of a target object (based on its runtime class) or the members declared by a given class. It also allows programs to suppress default reflective access control.

## API Specification

- java.lang.reflect

## Tutorials and Programmer's Guides

- The Reflection API trail in the Java Tutorials
- Dynamic Proxy Classes

## Enhancements

- Enhancements in Java SE 8
- Enhancements in Java SE 6
- Enhancements in Java SE 5.0
- Enhancements in Java SE 1.4

Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved.
Contact Us