public class LocalReference extends Reference
| Modifier and Type | Field and Description |
|---|---|
LocalVariable |
variable |
opcode| Constructor and Description |
|---|
LocalReference(LocalVariable variable) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(InsnVisitor<R,C> visitor,
C ctx)
Pass this
Instruction through the supplied InsnVisitor. |
LocalReference |
copy()
Deep copy this instruction.
|
EnumBitSet<InstructionFlag> |
getDirectFlags()
Any direct flags for this
Instruction. |
AType |
getType() |
protected void |
onConnected() |
protected void |
onDisconnected() |
getResultType, isReadFrom, isWrittenToaccept, 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, releaseRef, remove, replaceWith, setBytecodeOffset, setOffsets, setSourceLine, setTag, toString, toString, withOffsetspublic final LocalVariable variable
public LocalReference(LocalVariable variable)
public EnumBitSet<InstructionFlag> getDirectFlags()
InstructionInstruction.
The return value should be cached statically inside the Instruction impl.
getDirectFlags in class ReferenceEnumBitSet representing the flags.Instruction.getFlags()public <R,C> R accept(InsnVisitor<R,C> visitor, C ctx)
InstructionInstruction through the supplied InsnVisitor.accept in class Instructionvisitor - The InsnVisitor.ctx - The context.InsnVisitor.public LocalReference 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 Referenceprotected void onConnected()
onConnected in class Instructionprotected void onDisconnected()
onDisconnected in class Reference