Package EDU.purdue.cs.bloat.reflect
Provides an abstract API for working with Java classfiles. In this package, names and types are represent by indices into the constant pool. Modifier flags, the constant pool, exception handlers, and debugging information are also modeled directly in this package. The classes and interfaces in this package exist to give an opaque and abstract view of the underlying representation of the Java class.
-
Interface Summary Interface Description ClassInfo ClassInfo allows a class to be accessed and modified at a very low level.ClassInfoLoader ClassInfoLoader provides an interface for loading classes.FieldInfo FieldInfo grants access to a field's name and type (represented as indices into the constant pool), as well as its modifiers.MethodInfo MethodInfo provides methods for accessing and modifying a method.Modifiers Modifiers is an interface containing constants used as modifiers of classes, fields, and methods. -
Class Summary Class Description Catch Catch stores information about a protected block and an exception handler in a method.Constant A Constant is used to represent an item in the constant pool of a class.LineNumberDebugInfo LineNumberDebugInfo is used to map a range of instructions to a line number in the original Java source file.LocalDebugInfo LocalDebugInfo is used to map a local variable index in a range of instructions to a local in the original Java source file. -
Exception Summary Exception Description ClassFormatException