public class Comparison extends Instruction
| Modifier and Type | Class and Description |
|---|---|
static class |
Comparison.ComparisonKind |
opcode| Constructor and Description |
|---|
Comparison(Comparison.ComparisonKind kind,
Instruction left,
Instruction right) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(InsnVisitor<R,C> visitor,
C ctx)
Pass this
Instruction through the supplied InsnVisitor. |
EnumBitSet<InstructionFlag> |
getDirectFlags()
Any direct flags for this
Instruction. |
Comparison.ComparisonKind |
getKind() |
Instruction |
getLeft() |
AType |
getResultType()
Gets the stack type of the value produced by this
Instruction. |
Instruction |
getRight() |
void |
setKind(Comparison.ComparisonKind kind) |
void |
setLeft(Instruction left) |
void |
setRight(Instruction right) |
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, getSourceLine, getTag, hasDirectFlag, hasFlag, insertAfter, insertBefore, invalidateFlags, isConnected, isDescendantOf, onChildModified, onConnected, onDisconnected, releaseRef, remove, replaceWith, setBytecodeOffset, setOffsets, setSourceLine, setTag, toString, toString, withOffsetspublic Comparison(Comparison.ComparisonKind kind, Instruction left, Instruction right)
public 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 <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 Comparison.ComparisonKind getKind()
public Instruction getLeft()
public Instruction getRight()
public void setKind(Comparison.ComparisonKind kind)
public void setLeft(Instruction left)
public void setRight(Instruction right)