public class Invoke extends AbstractInvoke
| Modifier and Type | Class and Description |
|---|---|
static class |
Invoke.InvokeKind |
explicitTypeArgsopcode| Constructor and Description |
|---|
Invoke(Invoke.InvokeKind kind,
ClassType targetClassType,
Method method,
Instruction target,
java.lang.Iterable<Instruction> args) |
Invoke(Invoke.InvokeKind kind,
Method method,
Instruction target,
java.lang.Iterable<Instruction> args) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(InsnVisitor<R,C> visitor,
C ctx)
Pass this
Instruction through the supplied InsnVisitor. |
IndexedInstructionCollection<Instruction> |
getArguments() |
EnumBitSet<InstructionFlag> |
getDirectFlags()
Any direct flags for this
Instruction. |
Invoke.InvokeKind |
getKind() |
Method |
getMethod() |
AType |
getResultType()
Gets the stack type of the value produced by this
Instruction. |
Instruction |
getTarget() |
ClassType |
getTargetClassType() |
void |
setMethod(Method method) |
void |
setResultType(AType resultType) |
void |
setTarget(Instruction target) |
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 Invoke(Invoke.InvokeKind kind, Method method, Instruction target, java.lang.Iterable<Instruction> args)
public Invoke(Invoke.InvokeKind kind, ClassType targetClassType, Method method, Instruction target, java.lang.Iterable<Instruction> args)
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 Invoke.InvokeKind getKind()
public ClassType getTargetClassType()
public Method getMethod()
getMethod in class AbstractInvokepublic Instruction getTarget()
public IndexedInstructionCollection<Instruction> getArguments()
getArguments in class AbstractInvokepublic void setTarget(Instruction target)
public final void setMethod(Method method)
public void setResultType(AType resultType)