public class ConditionalJumpInstruction extends AbstractJumpInstruction
isDead
Constructor and Description |
---|
ConditionalJumpInstruction(boolean onTrue,
Label targetLabel) |
Modifier and Type | Method and Description |
---|---|
void |
accept(InstructionVisitor visitor) |
protected AbstractJumpInstruction |
createCopy(Label newLabel) |
java.util.Collection<Instruction> |
getNextInstructions() |
Instruction |
getNextOnFalse() |
Instruction |
getNextOnTrue() |
boolean |
onTrue() |
void |
setNextOnFalse(Instruction nextOnFalse) |
void |
setNextOnTrue(Instruction nextOnTrue) |
java.lang.String |
toString() |
copy, createCopy, getResolvedTarget, getTargetLabel, setResolvedTarget
copy, die, getCopies, getOwner, getPreviousInstructions, isDead, outgoingEdgeTo, setOwner, updateCopyInfo
public ConditionalJumpInstruction(boolean onTrue, Label targetLabel)
public boolean onTrue()
public Instruction getNextOnTrue()
public void setNextOnTrue(Instruction nextOnTrue)
public Instruction getNextOnFalse()
public void setNextOnFalse(Instruction nextOnFalse)
@NotNull public java.util.Collection<Instruction> getNextInstructions()
getNextInstructions
in interface Instruction
getNextInstructions
in class AbstractJumpInstruction
public void accept(InstructionVisitor visitor)
public java.lang.String toString()
toString
in class java.lang.Object
protected AbstractJumpInstruction createCopy(@NotNull Label newLabel)
createCopy
in class AbstractJumpInstruction