Previous

The Reflection API: Table of Contents

Examining Classes
Retrieving Class Objects
Getting the Class Name
Discovering Class Modifiers
Finding Superclasses
Identifying the Interfaces Implemented by a Class
Examining Interfaces
Identifying Class Fields
Discovering Class Constructors
Obtaining Method Information
Manipulating Objects
Creating Objects
Using No-Argument Constructors
Using Constructors that Have Arguments
Getting Field Values
Setting Field Values
Invoking Methods
Working with Arrays
Identifying Arrays
Retrieving Component Types
Creating Arrays
Getting and Setting Element Values
Summary of Classes


Previous