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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
GOTO |
GOTO - Branch always (to relative offset, not absolute address)
|
class |
GOTO_W |
GOTO_W - Branch always (to relative offset, not absolute address)
|
class |
GotoInstruction |
Super class for GOTO
|
class |
IF_ACMPEQ |
IF_ACMPEQ - Branch if reference comparison succeeds
|
class |
IF_ACMPNE |
IF_ACMPNE - Branch if reference comparison doesn't succeed
|
class |
IF_ICMPEQ |
IF_ICMPEQ - Branch if int comparison succeeds
|
class |
IF_ICMPGE |
IF_ICMPGE - Branch if int comparison succeeds
|
class |
IF_ICMPGT |
IF_ICMPGT - Branch if int comparison succeeds
|
class |
IF_ICMPLE |
IF_ICMPLE - Branch if int comparison succeeds
|
class |
IF_ICMPLT |
IF_ICMPLT - Branch if int comparison succeeds
|
class |
IF_ICMPNE |
IF_ICMPNE - Branch if int comparison doesn't succeed
|
class |
IFEQ |
IFEQ - Branch if int comparison with zero succeeds
|
class |
IFGE |
IFGE - Branch if int comparison with zero succeeds
|
class |
IFGT |
IFGT - Branch if int comparison with zero succeeds
|
class |
IfInstruction |
Super class for the IFxxx family of instructions.
|
class |
IFLE |
IFLE - Branch if int comparison with zero succeeds
|
class |
IFLT |
IFLT - Branch if int comparison with zero succeeds
|
class |
IFNE |
IFNE - Branch if int comparison with zero succeeds
|
class |
IFNONNULL |
IFNONNULL - Branch if reference is not null
|
class |
IFNULL |
IFNULL - Branch if reference is not null
|
class |
JSR |
JSR - Jump to subroutine
|
class |
JSR_W |
JSR_W - Jump to subroutine
|
class |
JsrInstruction |
Super class for JSR - Jump to subroutine
|
class |
LOOKUPSWITCH |
LOOKUPSWITCH - Switch with unordered set of values
|
class |
Select |
Select - Abstract super class for LOOKUPSWITCH and TABLESWITCH instructions.
|
class |
TABLESWITCH |
TABLESWITCH - Switch within given range of values, i.e., low..high
|
Modifier and Type | Method | Description |
---|---|---|
static BranchInstruction |
InstructionFactory.createBranchInstruction(short opcode,
InstructionHandle target) |
Create branch instruction by given opcode, except LOOKUPSWITCH and TABLESWITCH.
|
Modifier and Type | Method | Description |
---|---|---|
BranchHandle |
InstructionList.append(BranchInstruction i) |
Append a branch instruction to the end of this list.
|
BranchHandle |
InstructionList.append(InstructionHandle ih,
BranchInstruction i) |
Append an instruction after instruction (handle) ih contained in this list.
|
BranchHandle |
InstructionList.insert(BranchInstruction i) |
Insert a branch instruction at start of this list.
|
BranchHandle |
InstructionList.insert(InstructionHandle ih,
BranchInstruction i) |
Insert an instruction before instruction (handle) ih contained in this list.
|
void |
EmptyVisitor.visitBranchInstruction(BranchInstruction obj) |
|
void |
Visitor.visitBranchInstruction(BranchInstruction obj) |
Constructor | Description |
---|---|
InstructionList(BranchInstruction i) |
Create instruction list containing one instruction.
|