public abstract class Reference extends Instruction
opcode| Modifier | Constructor and Description |
|---|---|
protected |
Reference(InsnOpcode opcode) |
| Modifier and Type | Method and Description |
|---|---|
Reference |
copy()
Deep copy this instruction.
|
EnumBitSet<InstructionFlag> |
getDirectFlags()
Any direct flags for this
Instruction. |
AType |
getResultType()
Gets the stack type of the value produced by this
Instruction. |
abstract AType |
getType() |
boolean |
isReadFrom() |
boolean |
isWrittenTo() |
protected void |
onDisconnected() |
accept, accept, addRef, ancestorsOfType, computeFlags, descendantsMatching, descendantsOfType, descendantsToList, descendantsToListWhere, descendantsWhere, firstAncestorOfType, getBytecodeOffset, getChildren, getDescendants, getFirstChild, getFirstChildOrNull, getFlags, getLastChild, getLastChildOrNull, getNextSibling, getNextSiblingOrNull, getParent, getParentOrNull, getPrevSibling, getPrevSiblingOrNull, getSourceLine, getTag, hasDirectFlag, hasFlag, insertAfter, insertBefore, invalidateFlags, isConnected, isDescendantOf, onChildModified, onConnected, releaseRef, remove, replaceWith, setBytecodeOffset, setOffsets, setSourceLine, setTag, toString, toString, withOffsetsprotected Reference(InsnOpcode opcode)
public final AType getResultType()
InstructionInstruction.getResultType in class InstructionAType.public EnumBitSet<InstructionFlag> getDirectFlags()
InstructionInstruction.
The return value should be cached statically inside the Instruction impl.
getDirectFlags in class InstructionEnumBitSet representing the flags.Instruction.getFlags()public Reference copy()
InstructionThis many not be supported by all instructions.
Implementors should use copy-constructor syntax.
copy in interface net.covers1624.quack.util.Copyable<Instruction>copy in class Instructionprotected void onDisconnected()
onDisconnected in class Instructionpublic abstract AType getType()
public boolean isReadFrom()
public boolean isWrittenTo()