public abstract class Unary extends Instruction
| Modifier and Type | Field and Description |
|---|---|
protected InstructionSlot<Instruction> |
argument |
opcode| Modifier | Constructor and Description |
|---|---|
protected |
Unary(InsnOpcode opcode,
Instruction argument) |
| Modifier and Type | Method and Description |
|---|---|
Instruction |
getArgument() |
EnumBitSet<InstructionFlag> |
getDirectFlags()
Any direct flags for this
Instruction. |
void |
setArgument(Instruction argument) |
accept, accept, addRef, ancestorsOfType, computeFlags, copy, descendantsMatching, descendantsOfType, descendantsToList, descendantsToListWhere, descendantsWhere, firstAncestorOfType, getBytecodeOffset, getChildren, getDescendants, getFirstChild, getFirstChildOrNull, getFlags, getLastChild, getLastChildOrNull, getNextSibling, getNextSiblingOrNull, getParent, getParentOrNull, getPrevSibling, getPrevSiblingOrNull, getResultType, getSourceLine, getTag, hasDirectFlag, hasFlag, insertAfter, insertBefore, invalidateFlags, isConnected, isDescendantOf, onChildModified, onConnected, onDisconnected, releaseRef, remove, replaceWith, setBytecodeOffset, setOffsets, setSourceLine, setTag, toString, toString, withOffsetsprotected InstructionSlot<Instruction> argument
protected Unary(InsnOpcode opcode, Instruction argument)
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 Instruction getArgument()
public void setArgument(Instruction argument)