Uses of Class
org.objectweb.asm.tree.AbstractInsnNode
Packages that use AbstractInsnNode
Package
Description
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
Provides a framework for static code analysis based on the asm.tree package.
Provides ASM visitors that can be useful for programming and
debugging purposes.
-
Uses of AbstractInsnNode in org.objectweb.asm.tree
Subclasses of AbstractInsnNode in org.objectweb.asm.treeModifier and TypeClassDescriptionclass
A node that represents a field instruction.class
A node that represents a stack map frame.class
A node that represents an IINC instruction.class
A node that represents a zero operand instruction.class
A node that represents an instruction with a single int operand.class
A node that represents an invokedynamic instruction.class
A node that represents a jump instruction.class
AnAbstractInsnNode
that encapsulates aLabel
.class
A node that represents an LDC instruction.class
A node that represents a line number declaration.class
A node that represents a LOOKUPSWITCH instruction.class
A node that represents a method instruction.class
A node that represents a MULTIANEWARRAY instruction.class
A node that represents a TABLESWITCH instruction.class
A node that represents a type instruction.class
A node that represents a local variable instruction.Fields in org.objectweb.asm.tree declared as AbstractInsnNodeModifier and TypeFieldDescription(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 AbstractInsnNodeModifier and TypeMethodDescriptionabstract AbstractInsnNode
Returns a copy of this instruction.protected final AbstractInsnNode
AbstractInsnNode.cloneAnnotations
(AbstractInsnNode insnNode) Clones the annotations of the given instruction into this instruction.InsnList.get
(int index) Returns the instruction whose index is given.InsnList.getFirst()
Returns the first instruction in this list.InsnList.getLast()
Returns the last instruction in this list.AbstractInsnNode.getNext()
Returns the next instruction in the list to which this instruction belongs, if any.AbstractInsnNode.getPrevious()
Returns the previous instruction in the list to which this instruction belongs, if any.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 AbstractInsnNodeModifier and TypeMethodDescriptionInsnList.iterator()
Returns an iterator over the instructions in this list.InsnList.iterator
(int index) Returns an iterator over the instructions in this list.Methods in org.objectweb.asm.tree with parameters of type AbstractInsnNodeModifier and TypeMethodDescriptionvoid
InsnList.add
(AbstractInsnNode insnNode) Adds the given instruction to the end of this list.protected final 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 AbstractInsnNodeModifier and TypeFieldDescriptionfinal AbstractInsnNode
AnalyzerException.node
The bytecode instruction where the analysis failed.Fields in org.objectweb.asm.tree.analysis with type parameters of type AbstractInsnNodeModifier and TypeFieldDescriptionfinal Set<AbstractInsnNode>
SourceValue.insns
The instructions that can produce this value.Methods in org.objectweb.asm.tree.analysis with parameters of type AbstractInsnNodeModifier and TypeMethodDescriptionBasicInterpreter.binaryOperation
(AbstractInsnNode insn, BasicValue value1, BasicValue value2) 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.SourceInterpreter.binaryOperation
(AbstractInsnNode insn, SourceValue value1, SourceValue value2) BasicInterpreter.copyOperation
(AbstractInsnNode insn, BasicValue value) 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.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, String methodDescriptor, Interpreter<V> interpreter) BasicInterpreter.naryOperation
(AbstractInsnNode insn, List<? extends BasicValue> values) BasicVerifier.naryOperation
(AbstractInsnNode insn, List<? extends BasicValue> values) abstract V
Interpreter.naryOperation
(AbstractInsnNode insn, List<? extends V> values) Interprets a bytecode instruction with a variable number of arguments.SourceInterpreter.naryOperation
(AbstractInsnNode insn, List<? extends SourceValue> values) BasicInterpreter.newOperation
(AbstractInsnNode insn) abstract V
Interpreter.newOperation
(AbstractInsnNode insn) Interprets a bytecode instruction without arguments.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) BasicInterpreter.ternaryOperation
(AbstractInsnNode insn, BasicValue value1, BasicValue value2, BasicValue value3) 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.SourceInterpreter.ternaryOperation
(AbstractInsnNode insn, SourceValue value1, SourceValue value2, SourceValue value3) BasicInterpreter.unaryOperation
(AbstractInsnNode insn, BasicValue value) BasicVerifier.unaryOperation
(AbstractInsnNode insn, BasicValue value) abstract V
Interpreter.unaryOperation
(AbstractInsnNode insn, V value) Interprets a bytecode instruction with a single argument.SourceInterpreter.unaryOperation
(AbstractInsnNode insn, SourceValue value) Method parameters in org.objectweb.asm.tree.analysis with type arguments of type AbstractInsnNodeModifier and TypeMethodDescriptionprivate void
Analyzer.findSubroutine
(int insnIndex, Subroutine subroutine, 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 AbstractInsnNodeModifierConstructorDescriptionAnalyzerException
(AbstractInsnNode insn, String message) Constructs a newAnalyzerException
.AnalyzerException
(AbstractInsnNode insn, String message, Object expected, Value actual) Constructs a newAnalyzerException
.AnalyzerException
(AbstractInsnNode insn, String message, 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 AbstractInsnNodeModifierConstructorDescriptionSourceValue
(int size, Set<AbstractInsnNode> insnSet) Constructs a newSourceValue
. -
Uses of AbstractInsnNode in org.objectweb.asm.util
Methods in org.objectweb.asm.util with parameters of type AbstractInsnNodeModifier and TypeMethodDescriptionprivate static boolean
CheckFrameAnalyzer.isJvmInsnNode
(AbstractInsnNode insnNode) Returns true if the given instruction node corresponds to a real JVM instruction.