public abstract class InstructionImpl extends java.lang.Object implements Instruction
Modifier and Type | Field and Description |
---|---|
protected boolean |
isDead |
Modifier | Constructor and Description |
---|---|
protected |
InstructionImpl() |
Modifier and Type | Method and Description |
---|---|
Instruction |
copy() |
protected abstract Instruction |
createCopy() |
void |
die() |
java.util.Collection<Instruction> |
getCopies() |
Pseudocode |
getOwner() |
java.util.Collection<Instruction> |
getPreviousInstructions() |
boolean |
isDead() |
protected Instruction |
outgoingEdgeTo(Instruction target) |
void |
setOwner(Pseudocode owner) |
protected Instruction |
updateCopyInfo(Instruction instruction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, getNextInstructions
protected boolean isDead
protected InstructionImpl()
@NotNull public Pseudocode getOwner()
getOwner
in interface Instruction
public void setOwner(@NotNull Pseudocode owner)
setOwner
in interface Instruction
@NotNull public java.util.Collection<Instruction> getPreviousInstructions()
getPreviousInstructions
in interface Instruction
@Nullable protected Instruction outgoingEdgeTo(@Nullable Instruction target)
public void die()
public boolean isDead()
public final Instruction copy()
protected abstract Instruction createCopy()
@NotNull public java.util.Collection<Instruction> getCopies()
getCopies
in interface Instruction
protected Instruction updateCopyInfo(@NotNull Instruction instruction)