| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.bcel.generic.InstructionHandleorg.apache.bcel.generic.BranchHandlepublic final class BranchHandleextends InstructionHandleInstructionHandle, Instruction, InstructionList, Serialized FormField Summary |
Fields inherited from class org.apache.bcel.generic.InstructionHandle | |
i_position | |
Method Summary | |
protected void |
|
int | |
InstructionHandle | |
void |
|
void |
|
protected int |
|
void |
|
Methods inherited from class org.apache.bcel.generic.InstructionHandle | |
accept, addAttribute, addHandle, addTargeter, getAttribute, getAttributes, getInstruction, getNext, getPosition, getPrev, getTargeters, hasTargeters, removeAllTargeters, removeAttribute, removeTargeter, setInstruction, 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
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.