Uses of Class
org.objectweb.asm.tree.AbstractInsnNode
-
Packages that use AbstractInsnNode Package Description org.objectweb.asm.tree Provides an ASM visitor that constructs a tree representation of the classes it visits.org.objectweb.asm.tree.analysis Provides a framework for static code analysis based on the asm.tree package. -
-
Uses of AbstractInsnNode in org.objectweb.asm.tree
Subclasses of AbstractInsnNode in org.objectweb.asm.tree Modifier and Type Class Description class
FieldInsnNode
A node that represents a field instruction.class
FrameNode
A node that represents a stack map frame.class
IincInsnNode
A node that represents an IINC instruction.class
InsnNode
A node that represents a zero operand instruction.class
IntInsnNode
A node that represents an instruction with a single int operand.class
InvokeDynamicInsnNode
A node that represents an invokedynamic instruction.class
JumpInsnNode
A node that represents a jump instruction.class
LabelNode
AnAbstractInsnNode
that encapsulates aLabel
.class
LdcInsnNode
A node that represents an LDC instruction.class
LineNumberNode
A node that represents a line number declaration.class
LookupSwitchInsnNode
A node that represents a LOOKUPSWITCH instruction.class
MethodInsnNode
A node that represents a method instruction.class
MultiANewArrayInsnNode
A node that represents a MULTIANEWARRAY instruction.class
TableSwitchInsnNode
A node that represents a TABLESWITCH instruction.class
TypeInsnNode
A node that represents a type instruction.class
VarInsnNode
A node that represents a local variable instruction.Fields in org.objectweb.asm.tree declared as AbstractInsnNode Modifier and Type Field Description (package private) AbstractInsnNode[]
InsnList. cache
A cache of the instructions of this list.private AbstractInsnNode
InsnList. firstInsn
The first instruction in this list.private AbstractInsnNode
InsnList. lastInsn
The last instruction in this list.(package private) AbstractInsnNode
AbstractInsnNode. nextInsn
The next instruction in the list to which this instruction belongs.(package private) AbstractInsnNode
InsnList.InsnListIterator. nextInsn
(package private) AbstractInsnNode
AbstractInsnNode. previousInsn
The previous instruction in the list to which this instruction belongs.(package private) AbstractInsnNode
InsnList.InsnListIterator. previousInsn
(package private) AbstractInsnNode
InsnList.InsnListIterator. remove
Methods in org.objectweb.asm.tree that return AbstractInsnNode Modifier and Type Method Description abstract AbstractInsnNode
AbstractInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
Returns a copy of this instruction.AbstractInsnNode
FieldInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
FrameNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
IincInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
InsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
IntInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
InvokeDynamicInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
JumpInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
LabelNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
LdcInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
LineNumberNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
LookupSwitchInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
MethodInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
MultiANewArrayInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
TableSwitchInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
TypeInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
AbstractInsnNode
VarInsnNode. clone(java.util.Map<LabelNode,LabelNode> clonedLabels)
protected AbstractInsnNode
AbstractInsnNode. cloneAnnotations(AbstractInsnNode insnNode)
Clones the annotations of the given instruction into this instruction.AbstractInsnNode
InsnList. get(int index)
Returns the instruction whose index is given.AbstractInsnNode
InsnList. getFirst()
Returns the first instruction in this list.AbstractInsnNode
InsnList. getLast()
Returns the last instruction in this list.AbstractInsnNode
AbstractInsnNode. getNext()
Returns the next instruction in the list to which this instruction belongs, if any.AbstractInsnNode
AbstractInsnNode. getPrevious()
Returns the previous instruction in the list to which this instruction belongs, if any.AbstractInsnNode[]
InsnList. toArray()
Returns an array containing all the instructions in this list.Methods in org.objectweb.asm.tree that return types with arguments of type AbstractInsnNode Modifier and Type Method Description java.util.ListIterator<AbstractInsnNode>
InsnList. iterator()
Returns an iterator over the instructions in this list.java.util.ListIterator<AbstractInsnNode>
InsnList. iterator(int index)
Returns an iterator over the instructions in this list.Methods in org.objectweb.asm.tree with parameters of type AbstractInsnNode Modifier and Type Method Description void
InsnList. add(AbstractInsnNode insnNode)
Adds the given instruction to the end of this list.protected AbstractInsnNode
AbstractInsnNode. cloneAnnotations(AbstractInsnNode insnNode)
Clones the annotations of the given instruction into this instruction.boolean
InsnList. contains(AbstractInsnNode insnNode)
Returns true if the given instruction belongs to this list.int
InsnList. indexOf(AbstractInsnNode insnNode)
Returns the index of the given instruction in this list.void
InsnList. insert(AbstractInsnNode insnNode)
Inserts the given instruction at the beginning of this list.void
InsnList. insert(AbstractInsnNode previousInsn, AbstractInsnNode insnNode)
Inserts the given instruction after the specified instruction.void
InsnList. insert(AbstractInsnNode previousInsn, InsnList insnList)
Inserts the given instructions after the specified instruction.void
InsnList. insertBefore(AbstractInsnNode nextInsn, AbstractInsnNode insnNode)
Inserts the given instruction before the specified instruction.void
InsnList. insertBefore(AbstractInsnNode nextInsn, InsnList insnList)
Inserts the given instructions before the specified instruction.void
InsnList. remove(AbstractInsnNode insnNode)
Removes the given instruction from this list.void
InsnList. set(AbstractInsnNode oldInsnNode, AbstractInsnNode newInsnNode)
Replaces an instruction of this list with another instruction. -
Uses of AbstractInsnNode in org.objectweb.asm.tree.analysis
Fields in org.objectweb.asm.tree.analysis declared as AbstractInsnNode Modifier and Type Field Description AbstractInsnNode
AnalyzerException. node
The bytecode instruction where the analysis failed.Fields in org.objectweb.asm.tree.analysis with type parameters of type AbstractInsnNode Modifier and Type Field Description java.util.Set<AbstractInsnNode>
SourceValue. insns
The instructions that can produce this value.Methods in org.objectweb.asm.tree.analysis with parameters of type AbstractInsnNode Modifier and Type Method Description BasicValue
BasicInterpreter. binaryOperation(AbstractInsnNode insn, BasicValue value1, BasicValue value2)
BasicValue
BasicVerifier. binaryOperation(AbstractInsnNode insn, BasicValue value1, BasicValue value2)
abstract V
Interpreter. binaryOperation(AbstractInsnNode insn, V value1, V value2)
Interprets a bytecode instruction with two arguments.SourceValue
SourceInterpreter. binaryOperation(AbstractInsnNode insn, SourceValue value1, SourceValue value2)
BasicValue
BasicInterpreter. copyOperation(AbstractInsnNode insn, BasicValue value)
BasicValue
BasicVerifier. copyOperation(AbstractInsnNode insn, BasicValue value)
abstract V
Interpreter. copyOperation(AbstractInsnNode insn, V value)
Interprets a bytecode instruction that moves a value on the stack or to or from local variables.SourceValue
SourceInterpreter. copyOperation(AbstractInsnNode insn, SourceValue value)
void
Frame. execute(AbstractInsnNode insn, Interpreter<V> interpreter)
Simulates the execution of the given instruction on this execution stack frame.private boolean
Frame. executeDupX2(AbstractInsnNode insn, V value1, Interpreter<V> interpreter)
private void
Frame. executeInvokeInsn(AbstractInsnNode insn, java.lang.String methodDescriptor, Interpreter<V> interpreter)
BasicValue
BasicInterpreter. naryOperation(AbstractInsnNode insn, java.util.List<? extends BasicValue> values)
BasicValue
BasicVerifier. naryOperation(AbstractInsnNode insn, java.util.List<? extends BasicValue> values)
abstract V
Interpreter. naryOperation(AbstractInsnNode insn, java.util.List<? extends V> values)
Interprets a bytecode instruction with a variable number of arguments.SourceValue
SourceInterpreter. naryOperation(AbstractInsnNode insn, java.util.List<? extends SourceValue> values)
BasicValue
BasicInterpreter. newOperation(AbstractInsnNode insn)
abstract V
Interpreter. newOperation(AbstractInsnNode insn)
Interprets a bytecode instruction without arguments.SourceValue
SourceInterpreter. newOperation(AbstractInsnNode insn)
void
BasicInterpreter. returnOperation(AbstractInsnNode insn, BasicValue value, BasicValue expected)
void
BasicVerifier. returnOperation(AbstractInsnNode insn, BasicValue value, BasicValue expected)
abstract void
Interpreter. returnOperation(AbstractInsnNode insn, V value, V expected)
Interprets a bytecode return instruction.void
SourceInterpreter. returnOperation(AbstractInsnNode insn, SourceValue value, SourceValue expected)
BasicValue
BasicInterpreter. ternaryOperation(AbstractInsnNode insn, BasicValue value1, BasicValue value2, BasicValue value3)
BasicValue
BasicVerifier. ternaryOperation(AbstractInsnNode insn, BasicValue value1, BasicValue value2, BasicValue value3)
abstract V
Interpreter. ternaryOperation(AbstractInsnNode insn, V value1, V value2, V value3)
Interprets a bytecode instruction with three arguments.SourceValue
SourceInterpreter. ternaryOperation(AbstractInsnNode insn, SourceValue value1, SourceValue value2, SourceValue value3)
BasicValue
BasicInterpreter. unaryOperation(AbstractInsnNode insn, BasicValue value)
BasicValue
BasicVerifier. unaryOperation(AbstractInsnNode insn, BasicValue value)
abstract V
Interpreter. unaryOperation(AbstractInsnNode insn, V value)
Interprets a bytecode instruction with a single argument.SourceValue
SourceInterpreter. unaryOperation(AbstractInsnNode insn, SourceValue value)
Method parameters in org.objectweb.asm.tree.analysis with type arguments of type AbstractInsnNode Modifier and Type Method Description private void
Analyzer. findSubroutine(int insnIndex, Subroutine subroutine, java.util.List<AbstractInsnNode> jsrInsns)
Follows the control flow graph of the currently analyzed method, starting at the given instruction index, and stores a copy of the given subroutine inAnalyzer.subroutines
for each encountered instruction.Constructors in org.objectweb.asm.tree.analysis with parameters of type AbstractInsnNode Constructor Description AnalyzerException(AbstractInsnNode insn, java.lang.String message)
Constructs a newAnalyzerException
.AnalyzerException(AbstractInsnNode insn, java.lang.String message, java.lang.Object expected, Value actual)
Constructs a newAnalyzerException
.AnalyzerException(AbstractInsnNode insn, java.lang.String message, java.lang.Throwable cause)
Constructs a newAnalyzerException
.SourceValue(int size, AbstractInsnNode insnNode)
Constructs a newSourceValue
.Constructor parameters in org.objectweb.asm.tree.analysis with type arguments of type AbstractInsnNode Constructor Description SourceValue(int size, java.util.Set<AbstractInsnNode> insnSet)
Constructs a newSourceValue
.
-