public class ArrayElementReference extends Reference
opcode| Constructor and Description |
|---|
ArrayElementReference(Instruction array,
Instruction index) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(InsnVisitor<R,C> visitor,
C ctx)
Pass this
Instruction through the supplied InsnVisitor. |
Instruction |
getArray() |
EnumBitSet<InstructionFlag> |
getDirectFlags()
Any direct flags for this
Instruction. |
Instruction |
getIndex() |
AType |
getType() |
copy, getResultType, isReadFrom, isWrittenTo, onDisconnectedaccept, 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, withOffsetspublic ArrayElementReference(Instruction array, Instruction index)
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 Instruction getArray()
public Instruction getIndex()