|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspectj.apache.bcel.generic.InstructionHandle
org.aspectj.apache.bcel.generic.BranchHandle
public final class BranchHandle
BranchHandle is returned by specialized InstructionList.append() whenever a BranchInstruction is appended. This is useful when the target of this instruction is not known at time of creation and must be set later via setTarget().
InstructionHandle,
Instruction,
InstructionList,
Serialized Form| Method Summary | |
|---|---|
int |
getPosition()
|
InstructionHandle |
getTarget()
|
void |
setInstruction(Instruction i)
Set new contents. |
void |
setTarget(InstructionHandle ih)
Pass new target to instruction. |
void |
updateTarget(InstructionHandle old_ih,
InstructionHandle new_ih)
Update target of instruction. |
| Methods inherited from class org.aspectj.apache.bcel.generic.InstructionHandle |
|---|
addTargeter, getInstruction, getNext, getPrev, getTargeters, getTargetersCopy, hasTargeters, removeAllTargeters, removeTargeter, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getPosition()
getPosition in class InstructionHandlepublic void setTarget(InstructionHandle ih)
public void updateTarget(InstructionHandle old_ih,
InstructionHandle new_ih)
public InstructionHandle getTarget()
public void setInstruction(Instruction i)
setInstruction in class InstructionHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||