org.jetbrains.jet.lang.cfg.pseudocode
Class InstructionImpl
java.lang.Object
org.jetbrains.jet.lang.cfg.pseudocode.InstructionImpl
- All Implemented Interfaces:
- Instruction
- Direct Known Subclasses:
- AbstractJumpInstruction, JetElementInstructionImpl, NondeterministicJumpInstruction, SubroutineExitInstruction, SubroutineSinkInstruction
public abstract class InstructionImpl
- extends java.lang.Object
- implements Instruction
Field Summary |
protected boolean |
isDead
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isDead
protected boolean isDead
InstructionImpl
protected InstructionImpl()
getOwner
@NotNull
public Pseudocode getOwner()
- Specified by:
getOwner
in interface Instruction
setOwner
public void setOwner(@NotNull
Pseudocode owner)
- Specified by:
setOwner
in interface Instruction
getPreviousInstructions
@NotNull
public java.util.Collection<Instruction> getPreviousInstructions()
- Specified by:
getPreviousInstructions
in interface Instruction
outgoingEdgeTo
@Nullable
protected Instruction outgoingEdgeTo(@Nullable
Instruction target)
die
public void die()
isDead
public boolean isDead()
copy
public final Instruction copy()
createCopy
protected abstract Instruction createCopy()
getCopies
@NotNull
public java.util.Collection<Instruction> getCopies()
- Specified by:
getCopies
in interface Instruction
updateCopyInfo
protected Instruction updateCopyInfo(@NotNull
Instruction instruction)