org.jetbrains.jet.lang.cfg.pseudocode
Class AbstractJumpInstruction
java.lang.Object
org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
org.jetbrains.jet.lang.cfg.pseudocode.AbstractJumpInstruction
- All Implemented Interfaces:
- Instruction
- Direct Known Subclasses:
- ConditionalJumpInstruction, ReturnNoValueInstruction, ReturnValueInstruction, ThrowExceptionInstruction, UnconditionalJumpInstruction
public abstract class AbstractJumpInstruction
- extends InstructionImpl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJumpInstruction
public AbstractJumpInstruction(Label targetLabel,
LexicalScope lexicalScope)
getTargetLabel
public Label getTargetLabel()
getResolvedTarget
public Instruction getResolvedTarget()
getNextInstructions
@NotNull
public java.util.Collection<Instruction> getNextInstructions()
setResolvedTarget
public void setResolvedTarget(Instruction resolvedTarget)
createCopy
protected abstract AbstractJumpInstruction createCopy(@NotNull
Label newLabel,
@NotNull
LexicalScope lexicalScope)
copy
public final Instruction copy(@NotNull
Label newLabel)
createCopy
@NotNull
protected Instruction createCopy()
- Specified by:
createCopy
in class InstructionImpl