org.apache.bcel.generic
public final class BranchHandle extends InstructionHandle
Version: $Id: BranchHandle.java 386056 2006-03-15 11:31:56Z tcurdt $
See Also: InstructionHandle Instruction InstructionList
Field Summary | |
---|---|
static BranchHandle | bh_list Factory methods. |
BranchInstruction | bi |
Constructor Summary | |
---|---|
BranchHandle(BranchInstruction i) |
Method Summary | |
---|---|
protected void | addHandle() Handle adds itself to the list of resuable handles. |
static BranchHandle | getBranchHandle(BranchInstruction i) |
int | getPosition() |
InstructionHandle | getTarget() |
void | setInstruction(Instruction i)
Set new contents. |
void | setPosition(int pos) |
void | setTarget(InstructionHandle ih)
Pass new target to instruction. |
protected int | updatePosition(int offset, int max_offset) |
void | updateTarget(InstructionHandle old_ih, InstructionHandle new_ih)
Update target of instruction. |
Returns: target of instruction.