|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Compiler.BytecodeAnalysis.Bytecodes.InstructionHandle joeq.Compiler.BytecodeAnalysis.Bytecodes.BranchHandle
public static final class Bytecodes.BranchHandle
Field Summary |
---|
Fields inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.InstructionHandle |
---|
i_position |
Method Summary | |
---|---|
protected void |
addHandle()
Handle adds itself to the list of resuable handles. |
int |
getPosition()
|
Bytecodes.InstructionHandle |
getTarget()
|
void |
setInstruction(Bytecodes.Instruction i)
Set new contents. |
void |
setTarget(Bytecodes.InstructionHandle ih)
Pass new target to instruction. |
protected int |
updatePosition(int offset,
int max_offset)
Called by InstructionList.setPositions when setting the position for every instruction. |
void |
updateTarget(Bytecodes.InstructionHandle old_ih,
Bytecodes.InstructionHandle new_ih)
Update target of instruction. |
Methods inherited from class joeq.Compiler.BytecodeAnalysis.Bytecodes.InstructionHandle |
---|
accept, addAttribute, addTargeter, getAttribute, getInstruction, getNext, getPrev, getTargeters, hasTargeters, removeAllTargeters, removeAttribute, removeTargeter, swapInstruction, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
protected void addHandle()
addHandle
in class Bytecodes.InstructionHandle
public int getPosition()
getPosition
in class Bytecodes.InstructionHandle
protected int updatePosition(int offset, int max_offset)
Bytecodes.InstructionHandle
updatePosition
in class Bytecodes.InstructionHandle
offset
- additional offset caused by preceding (variable length) instructionsmax_offset
- the maximum offset that may be caused by these instructions
public void setTarget(Bytecodes.InstructionHandle ih)
public void updateTarget(Bytecodes.InstructionHandle old_ih, Bytecodes.InstructionHandle new_ih)
public Bytecodes.InstructionHandle getTarget()
public void setInstruction(Bytecodes.Instruction i)
setInstruction
in class Bytecodes.InstructionHandle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |