|
TechTrader Bytecode Toolkit | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
ConstantEntry | Interface implemented by Entries representing constant values to generically access/mutate the constant value. |
Entry | Base interface for all constant pool entries. |
LowLevelConstants | Interface to track constants used in lowlevel bytecode. |
Class Summary | |
ClassEntry | Low-level representation of a constant pool entry describing a Class. |
ComplexEntry | The complex entry serves as a base class for field, method, and interface method constant pool entries. |
ConstantPool | Represents a class constant pool, containing entries for all strings, constants, classes, etc referenced in the class structure and opcodes. |
DoubleEntry | Representation of a constant double value in the constant pool. |
FieldEntry | Represents a reference to a class field. |
FloatEntry | Represents a constant float value in the constant pool. |
IntEntry | Represents a constant int value in the constant pool. |
InterfaceMethodEntry | Represents an interface method in the constant pool. |
LongEntry | Represnts a long constant in the constant pool. |
MethodEntry | Represents a method in the constant pool. |
NameAndTypeEntry | Constant pool entry containing indexes referencing a name and a type. |
PlaceHolderEntry | The PlaceHolderEntry is inserted into the constant pool after LongEntries and DoubleEntries to maintain the proper indexing, as these types take up 2 indeces in the constant pool. |
StringEntry | String constant constant pool entry. |
UTF8Entry | A constant pool entry representing a unicode string value. |
Lowlevel Bytecode Manipuation
This package contains facilities for lowlevel bytecode manipulation
through the class constant pool. It is generally not necessary to use
this package directly, as all necessary bytecode manipulation
functionality is made available at a high level via the
com.techtrader.modules.tools.bytecode
package.
Notable Classes
ConstantPool
A class constant pool. Maintains a list of Entries referenced in the class, using a hashing scheme to avoid duplicate entries and to search the entries quickly.
Entry
Base interface for all constant pool entry types.
PlaceHolderEntry
Long and Double constant pool entries take up two index spots in the pool, but they are treated as single objects in the Entry list. To maintain proper indexing, a PlaceHolderEntry is inserted after each Long/DoubleEntry as the .class file is read.
Module Dependencies
|
TechTrader Bytecode Toolkit | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |