Package | Description |
---|---|
org.apache.bcel.generic |
This package contains the "generic" part of the
Byte Code Engineering
Library, i.e., classes to dynamically modify class objects and
byte code instructions.
|
org.apache.bcel.verifier.structurals |
Provides a PassVerifier class mostly used internally by JustIce, yielding a control flow graph for public use as
a nice side effect.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ALOAD |
ALOAD - Load reference from local variable
|
class |
ASTORE |
ASTORE - Store reference into local variable
|
class |
DLOAD |
DLOAD - Load double from local variable
|
class |
DSTORE |
DSTORE - Store double into local variable
|
class |
FLOAD |
FLOAD - Load float from local variable
|
class |
FSTORE |
FSTORE - Store float into local variable
|
class |
IINC |
IINC - Increment local variable by constant
|
class |
ILOAD |
ILOAD - Load int from local variable onto stack
|
class |
ISTORE |
ISTORE - Store int from stack into local variable
|
class |
LLOAD |
LLOAD - Load long from local variable
|
class |
LoadInstruction |
Denotes an unparameterized instruction to load a value from a local
variable, e.g.
|
class |
LSTORE |
LSTORE - Store long into local variable
|
class |
StoreInstruction |
Denotes an unparameterized instruction to store a value into a local variable,
e.g.
|
Modifier and Type | Field | Description |
---|---|---|
static LocalVariableInstruction |
InstructionConstants.ALOAD_0 |
|
static LocalVariableInstruction |
InstructionConstants.ALOAD_1 |
|
static LocalVariableInstruction |
InstructionConstants.ALOAD_2 |
|
static LocalVariableInstruction |
InstructionConstants.ASTORE_0 |
|
static LocalVariableInstruction |
InstructionConstants.ASTORE_1 |
|
static LocalVariableInstruction |
InstructionConstants.ASTORE_2 |
|
static LocalVariableInstruction |
InstructionConstants.ILOAD_0 |
|
static LocalVariableInstruction |
InstructionConstants.ILOAD_1 |
|
static LocalVariableInstruction |
InstructionConstants.ILOAD_2 |
|
static LocalVariableInstruction |
InstructionConstants.ISTORE_0 |
|
static LocalVariableInstruction |
InstructionConstants.ISTORE_1 |
|
static LocalVariableInstruction |
InstructionConstants.ISTORE_2 |
|
static LocalVariableInstruction |
InstructionConstants.THIS |
You can use these constants in multiple places safely, if you can guarantee
that you will never alter their internal values, e.g.
|
Modifier and Type | Method | Description |
---|---|---|
static LocalVariableInstruction |
InstructionFactory.createLoad(Type type,
int index) |
|
static LocalVariableInstruction |
InstructionFactory.createStore(Type type,
int index) |
Modifier and Type | Method | Description |
---|---|---|
void |
EmptyVisitor.visitLocalVariableInstruction(LocalVariableInstruction obj) |
|
void |
Visitor.visitLocalVariableInstruction(LocalVariableInstruction obj) |
Modifier and Type | Method | Description |
---|---|---|
void |
InstConstraintVisitor.visitLocalVariableInstruction(LocalVariableInstruction o) |
Assures the generic preconditions of a LocalVariableInstruction instance.
|