org.jetbrains.jet.lang.cfg.pseudocode
Class NondeterministicJumpInstruction
java.lang.Object
org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
org.jetbrains.jet.lang.cfg.pseudocode.NondeterministicJumpInstruction
- All Implemented Interfaces:
- Instruction
public class NondeterministicJumpInstruction
- extends InstructionImpl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NondeterministicJumpInstruction
public NondeterministicJumpInstruction(java.util.List<Label> targetLabels,
LexicalScope lexicalScope)
NondeterministicJumpInstruction
public NondeterministicJumpInstruction(Label targetLabel,
LexicalScope lexicalScope)
getTargetLabels
public java.util.List<Label> getTargetLabels()
getResolvedTargets
public java.util.Map<Label,Instruction> getResolvedTargets()
setResolvedTarget
public void setResolvedTarget(Label label,
Instruction resolvedTarget)
getNext
public Instruction getNext()
setNext
public void setNext(Instruction next)
accept
public void accept(@NotNull
InstructionVisitor visitor)
accept
public <R> R accept(@NotNull
InstructionVisitorWithResult<R> visitor)
getNextInstructions
@NotNull
public java.util.Collection<Instruction> getNextInstructions()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
createCopy
@NotNull
protected Instruction createCopy()
- Specified by:
createCopy
in class InstructionImpl
copy
@NotNull
public final Instruction copy(@NotNull
java.util.List<Label> newTargetLabels)