Reflection
Home ] Up ] Introduction ] Exceptions ] I/O, Files, and Streams ] Serialization ] [ Reflection ] Threads ] Swing and Threads ] Networking ] RMI ] JDBC ] Java Beans ] Servlets ] Java Server Pages ] Java and XML ]

 

The Class Class
Examining a Class
Array Name Encodings
Creating a Class Instance
The Reflection Classes

 

The Java Reflection API allows a program to inspect and discover information about classes and other elements of the program.

Reflection is used in Serialization and also in JavaBeans, among other applications.

The class java.lang.Class is the starting point for the reflection process.

The classes in the package java.lang.reflect provide more information for reflection, and are typically used in collaboration with the class Class.

 
The page was last updated February 19, 2008