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

java.lang.Object
  extended by org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
      extended by org.jetbrains.jet.lang.cfg.pseudocode.SubroutineExitInstruction
All Implemented Interfaces:
Instruction

public class SubroutineExitInstruction
extends InstructionImpl


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
isDead
 
Constructor Summary
SubroutineExitInstruction(JetElement subroutine, java.lang.String debugLabel)
           
 
Method Summary
 void accept(InstructionVisitor visitor)
           
protected  Instruction createCopy()
           
 java.util.Collection<Instruction> getNextInstructions()
           
 JetElement getSubroutine()
           
 void setSink(SubroutineSinkInstruction instruction)
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Constructor Detail

SubroutineExitInstruction

public SubroutineExitInstruction(@NotNull
                                 JetElement subroutine,
                                 @NotNull
                                 java.lang.String debugLabel)
Method Detail

getSubroutine

public JetElement getSubroutine()

setSink

public void setSink(SubroutineSinkInstruction instruction)

getNextInstructions

@NotNull
public java.util.Collection<Instruction> getNextInstructions()

accept

public void accept(InstructionVisitor visitor)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createCopy

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