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, setResolvedTargetcopy, die, getCopies, getOwner, getPreviousInstructions, isDead, outgoingEdgeTo, setOwner, updateCopyInfopublic 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 InstructiongetNextInstructions in class AbstractJumpInstructionpublic void accept(InstructionVisitor visitor)
public java.lang.String toString()
toString in class java.lang.Objectprotected AbstractJumpInstruction createCopy(@NotNull Label newLabel)
createCopy in class AbstractJumpInstruction