Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.bcel.generic.InstructionHandle
org.apache.bcel.generic.BranchHandle
public final class BranchHandle
extends InstructionHandle
InstructionHandle
, Instruction
, InstructionList
, Serialized FormField Summary | |
private static BranchHandle |
|
private BranchInstruction |
Fields inherited from class org.apache.bcel.generic.InstructionHandle | |
attributes , i_position , ih_list , instruction , next , prev , targeters |
Constructor Summary | |
Method Summary | |
protected void |
|
(package private) static BranchHandle | |
int | |
InstructionHandle | |
void |
|
(package private) void |
|
void |
|
protected int |
|
void |
|
Methods inherited from class org.apache.bcel.generic.InstructionHandle | |
accept , addAttribute , addHandle , addTargeter , dispose , getAttribute , getAttributes , getInstruction , getInstructionHandle , getNext , getPosition , getPrev , getTargeters , hasTargeters , removeAllTargeters , removeAttribute , removeTargeter , setInstruction , setPosition , swapInstruction , toString , toString , updatePosition |
protected void addHandle()
Handle adds itself to the list of resuable handles.
- Overrides:
- addHandle in interface InstructionHandle
public void setInstruction(Instruction i)
Set new contents. Old instruction is disposed and may not be used anymore.
- Overrides:
- setInstruction in interface InstructionHandle
(package private) void setPosition(int pos)
- Overrides:
- setPosition in interface InstructionHandle
protected int updatePosition(int offset, int max_offset)
- Overrides:
- updatePosition in interface InstructionHandle
public void updateTarget(InstructionHandle old_ih, InstructionHandle new_ih)
Update target of instruction.