org.jetbrains.jet.lang.cfg.pseudocode
Class AbstractJumpInstruction
java.lang.Object
org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
org.jetbrains.jet.lang.cfg.pseudocode.JetElementInstructionImpl
org.jetbrains.jet.lang.cfg.pseudocode.AbstractJumpInstruction
- All Implemented Interfaces:
- Instruction, JetElementInstruction, JumpInstruction
- Direct Known Subclasses:
- ConditionalJumpInstruction, ReturnNoValueInstruction, ReturnValueInstruction, ThrowExceptionInstruction, UnconditionalJumpInstruction
public abstract class AbstractJumpInstruction
- extends JetElementInstructionImpl
- implements JumpInstruction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJumpInstruction
public AbstractJumpInstruction(@NotNull
JetElement element,
Label targetLabel,
LexicalScope lexicalScope)
getTargetLabel
public Label getTargetLabel()
getResolvedTarget
public Instruction getResolvedTarget()
getNextInstructions
@NotNull
public java.util.Collection<Instruction> getNextInstructions()
- Specified by:
getNextInstructions
in interface Instruction
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