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

java.lang.Object
  extended by org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
      extended by org.jetbrains.jet.lang.cfg.pseudocode.AbstractJumpInstruction
          extended by org.jetbrains.jet.lang.cfg.pseudocode.ThrowExceptionInstruction
All Implemented Interfaces:
Instruction, JetElementInstruction

public class ThrowExceptionInstruction
extends AbstractJumpInstruction
implements JetElementInstruction


Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
isDead
 
Constructor Summary
ThrowExceptionInstruction(JetThrowExpression expression, Label errorLabel)
           
 
Method Summary
 void accept(InstructionVisitor visitor)
           
protected  AbstractJumpInstruction createCopy(Label newLabel)
           
 JetExpression getElement()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.jet.lang.cfg.pseudocode.AbstractJumpInstruction
copy, createCopy, getNextInstructions, getResolvedTarget, getTargetLabel, setResolvedTarget
 
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
 
Methods inherited from interface org.jetbrains.jet.lang.cfg.pseudocode.Instruction
getCopies, getNextInstructions, getOwner, getPreviousInstructions, setOwner
 

Constructor Detail

ThrowExceptionInstruction

public ThrowExceptionInstruction(@NotNull
                                 JetThrowExpression expression,
                                 @NotNull
                                 Label errorLabel)
Method Detail

getElement

@NotNull
public JetExpression getElement()
Specified by:
getElement in interface JetElementInstruction

toString

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

accept

public void accept(InstructionVisitor visitor)
Specified by:
accept in interface Instruction

createCopy

protected AbstractJumpInstruction createCopy(@NotNull
                                             Label newLabel)
Specified by:
createCopy in class AbstractJumpInstruction