org.jetbrains.jet.lang.cfg.pseudocode
Class AbstractJumpInstruction

java.lang.Object
  extended by org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
      extended by 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


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
isDead
 
Constructor Summary
AbstractJumpInstruction(Label targetLabel)
           
 
Method Summary
 Instruction copy(Label newLabel)
           
protected  Instruction createCopy()
           
protected abstract  AbstractJumpInstruction createCopy(Label newLabel)
           
 java.util.Collection<Instruction> getNextInstructions()
           
 Instruction getResolvedTarget()
           
 Label getTargetLabel()
           
 void setResolvedTarget(Instruction resolvedTarget)
           
 
Methods inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
copy, die, getCopies, getOwner, getPreviousInstructions, isDead, outgoingEdgeTo, setOwner, updateCopyInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jetbrains.jet.lang.cfg.pseudocode.Instruction
accept
 

Constructor Detail

AbstractJumpInstruction

public AbstractJumpInstruction(Label targetLabel)
Method Detail

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)

copy

public final Instruction copy(@NotNull
                              Label newLabel)

createCopy

protected Instruction createCopy()
Specified by:
createCopy in class InstructionImpl