public abstract static class InstructionSet.Branch extends Instruction
Modifier and Type | Field and Description |
---|---|
protected boolean |
breakOrContinue |
protected int |
offset |
protected Instruction |
target |
method, pc
Constructor and Description |
---|
Branch(MethodModel _methodPoolEntry,
InstructionSet.ByteCode _byteCode,
ByteReader _byteReader,
boolean _wide) |
Branch(MethodModel _methodPoolEntry,
InstructionSet.ByteCode _byteCode,
Instruction _target) |
Modifier and Type | Method and Description |
---|---|
int |
getAbsolute() |
private int |
getOffset() |
Instruction |
getTarget() |
boolean |
isBreakOrContinue() |
boolean |
isConditional() |
boolean |
isForward() |
boolean |
isForwardConditional() |
boolean |
isForwardUnconditional() |
boolean |
isReverse() |
boolean |
isReverseConditional() |
boolean |
isReverseUnconditional() |
boolean |
isUnconditional() |
void |
retarget(Instruction _newTarget) |
void |
setBreakOrContinue(boolean b) |
void |
setTarget(Instruction _target) |
void |
unhook() |
addBranchTarget, asBranch, compareTo, consumesStack, getByteCode, getDescription, getFirstChild, getForwardConditionalBranches, getForwardUnconditionalBranches, getLastChild, getLength, getMethod, getNextExpr, getNextPC, getParentExpr, getPrevExpr, getPrevPC, getReal, getReverseConditionalBranches, getReverseUnconditionalBranches, getRootExpr, getStackConsumeCount, getStackDelta, getStackProduceCount, getStartInstruction, getStartPC, getThisPC, isAfter, isAfterOrEqual, isBefore, isBeforeOrEqual, isBranch, isBranchTarget, isConditionalBranchTarget, isForwardBranch, isForwardBranchTarget, isForwardConditionalBranchTarget, isForwardUnconditionalBranchTarget, isReverseBranchTarget, isReverseConditionalBranchTarget, isReverseUnconditionalBranchTarget, isUnconditionalBranchTarget, producesStack, removeBranchTarget, sameAs, setChildren, setLength, setNextExpr, setNextPC, setParentExpr, setPrevExpr, setPrevPC, toInstruction, toString
protected int offset
protected boolean breakOrContinue
protected Instruction target
public Branch(MethodModel _methodPoolEntry, InstructionSet.ByteCode _byteCode, ByteReader _byteReader, boolean _wide)
public Branch(MethodModel _methodPoolEntry, InstructionSet.ByteCode _byteCode, Instruction _target)
public int getAbsolute()
private int getOffset()
public Instruction getTarget()
public void setTarget(Instruction _target)
public boolean isConditional()
public boolean isUnconditional()
public boolean isReverseConditional()
public boolean isForwardConditional()
public boolean isReverseUnconditional()
public boolean isForwardUnconditional()
public boolean isReverse()
public boolean isForward()
public void unhook()
public void setBreakOrContinue(boolean b)
public boolean isBreakOrContinue()
public void retarget(Instruction _newTarget)