A B C D E F G H I L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- analyze(String, MethodNode) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Analyzes the given method.
- analyzeAndComputeMaxs(String, MethodNode) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Analyzes the given method and computes and sets its maximum stack size and maximum number of local variables.
- Analyzer<V extends Value> - Class in org.objectweb.asm.tree.analysis
-
A semantic bytecode analyzer.
- Analyzer(Interpreter<V>) - Constructor for class org.objectweb.asm.tree.analysis.Analyzer
-
Constructs a new
Analyzer
. - AnalyzerException - Exception in org.objectweb.asm.tree.analysis
-
An exception thrown if a problem occurs during the analysis of a method.
- AnalyzerException(AbstractInsnNode, String) - Constructor for exception org.objectweb.asm.tree.analysis.AnalyzerException
-
Constructs a new
AnalyzerException
. - AnalyzerException(AbstractInsnNode, String, Object, Value) - Constructor for exception org.objectweb.asm.tree.analysis.AnalyzerException
-
Constructs a new
AnalyzerException
. - AnalyzerException(AbstractInsnNode, String, Throwable) - Constructor for exception org.objectweb.asm.tree.analysis.AnalyzerException
-
Constructs a new
AnalyzerException
. - api - Variable in class org.objectweb.asm.tree.analysis.Interpreter
-
The ASM API version supported by this interpreter.
B
- BasicInterpreter - Class in org.objectweb.asm.tree.analysis
-
An
Interpreter
forBasicValue
values. - BasicInterpreter() - Constructor for class org.objectweb.asm.tree.analysis.BasicInterpreter
-
Constructs a new
BasicInterpreter
for the latest ASM API version. - BasicInterpreter(int) - Constructor for class org.objectweb.asm.tree.analysis.BasicInterpreter
-
Constructs a new
BasicInterpreter
. - BasicValue - Class in org.objectweb.asm.tree.analysis
-
A
Value
that is represented with its type in a seven types type system. - BasicValue(Type) - Constructor for class org.objectweb.asm.tree.analysis.BasicValue
-
Constructs a new
BasicValue
of the given type. - BasicVerifier - Class in org.objectweb.asm.tree.analysis
-
An extended
BasicInterpreter
that checks that bytecode instructions are correctly used. - BasicVerifier() - Constructor for class org.objectweb.asm.tree.analysis.BasicVerifier
-
Constructs a new
BasicVerifier
for the latest ASM API version. - BasicVerifier(int) - Constructor for class org.objectweb.asm.tree.analysis.BasicVerifier
-
Constructs a new
BasicVerifier
. - binaryOperation(AbstractInsnNode, BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- binaryOperation(AbstractInsnNode, BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
- binaryOperation(AbstractInsnNode, SourceValue, SourceValue) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- binaryOperation(AbstractInsnNode, V, V) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Interprets a bytecode instruction with two arguments.
C
- clearStack() - Method in class org.objectweb.asm.tree.analysis.Frame
-
Clears the operand stack of this frame.
- copyOperation(AbstractInsnNode, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- copyOperation(AbstractInsnNode, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
- copyOperation(AbstractInsnNode, SourceValue) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- copyOperation(AbstractInsnNode, V) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Interprets a bytecode instruction that moves a value on the stack or to or from local variables.
D
- DOUBLE_VALUE - Static variable in class org.objectweb.asm.tree.analysis.BasicValue
-
A double value.
E
- equals(Object) - Method in class org.objectweb.asm.tree.analysis.BasicValue
- equals(Object) - Method in class org.objectweb.asm.tree.analysis.SourceValue
- execute(AbstractInsnNode, Interpreter<V>) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Simulates the execution of the given instruction on this execution stack frame.
F
- FLOAT_VALUE - Static variable in class org.objectweb.asm.tree.analysis.BasicValue
-
A float value.
- Frame<V extends Value> - Class in org.objectweb.asm.tree.analysis
-
A symbolic execution stack frame.
- Frame(int, int) - Constructor for class org.objectweb.asm.tree.analysis.Frame
-
Constructs a new frame with the given size.
- Frame(Frame<? extends V>) - Constructor for class org.objectweb.asm.tree.analysis.Frame
-
Constructs a copy of the given Frame.
G
- getClass(Type) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Loads the class corresponding to the given type.
- getElementValue(BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
-
Returns the value corresponding to the type of the elements of the given array reference value.
- getElementValue(BasicValue) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
- getFrames() - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Returns the symbolic execution stack frame for each instruction of the last analyzed method.
- getHandlers(int) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Returns the exception handlers for the given instruction.
- getLocal(int) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Returns the value of the given local variable.
- getLocals() - Method in class org.objectweb.asm.tree.analysis.Frame
-
Returns the maximum number of local variables of this frame.
- getMaxStackSize() - Method in class org.objectweb.asm.tree.analysis.Frame
-
Returns the maximum number of elements in the operand stack of this frame.
- getSize() - Method in class org.objectweb.asm.tree.analysis.BasicValue
- getSize() - Method in class org.objectweb.asm.tree.analysis.SourceValue
-
Returns the size of this value.
- getSize() - Method in interface org.objectweb.asm.tree.analysis.Value
-
Returns the size of this value in 32 bits words.
- getStack(int) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Returns the value of the given operand stack slot.
- getStackSize() - Method in class org.objectweb.asm.tree.analysis.Frame
-
Returns the number of elements in the operand stack of this frame.
- getSuperClass(Type) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Returns the type corresponding to the super class of the given type.
- getType() - Method in class org.objectweb.asm.tree.analysis.BasicValue
-
Returns the
Type
of this value.
H
- hashCode() - Method in class org.objectweb.asm.tree.analysis.BasicValue
- hashCode() - Method in class org.objectweb.asm.tree.analysis.SourceValue
I
- init(String, MethodNode) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Initializes this analyzer.
- init(Frame<? extends V>) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Copies the state of the given frame into this frame.
- initJumpTarget(int, LabelNode) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Initializes a frame corresponding to the target or to the successor of a jump instruction.
- insns - Variable in class org.objectweb.asm.tree.analysis.SourceValue
-
The instructions that can produce this value.
- INT_VALUE - Static variable in class org.objectweb.asm.tree.analysis.BasicValue
-
A byte, boolean, char, short, or int value.
- Interpreter<V extends Value> - Class in org.objectweb.asm.tree.analysis
-
A semantic bytecode interpreter.
- Interpreter(int) - Constructor for class org.objectweb.asm.tree.analysis.Interpreter
-
Constructs a new
Interpreter
. - isArrayValue(BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
-
Returns whether the given value corresponds to an array reference.
- isArrayValue(BasicValue) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
- isAssignableFrom(Type, Type) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Returns whether the class corresponding to the first argument is either the same as, or is a superclass or superinterface of the class corresponding to the second argument.
- isInterface(Type) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Returns whether the given type corresponds to the type of an interface.
- isReference() - Method in class org.objectweb.asm.tree.analysis.BasicValue
-
Returns whether this value corresponds to an object or array reference.
- isSubTypeOf(BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
-
Returns whether the type corresponding to the first argument is a subtype of the type corresponding to the second argument.
- isSubTypeOf(BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
L
- LONG_VALUE - Static variable in class org.objectweb.asm.tree.analysis.BasicValue
-
A long value.
M
- merge(BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- merge(BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
- merge(Frame<? extends V>, boolean[]) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Merges the given frame into this frame (case of a subroutine).
- merge(Frame<? extends V>, Interpreter<V>) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Merges the given frame into this frame.
- merge(SourceValue, SourceValue) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- merge(V, V) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Merges two values.
N
- naryOperation(AbstractInsnNode, List<? extends BasicValue>) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- naryOperation(AbstractInsnNode, List<? extends BasicValue>) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
- naryOperation(AbstractInsnNode, List<? extends SourceValue>) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- naryOperation(AbstractInsnNode, List<? extends V>) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Interprets a bytecode instruction with a variable number of arguments.
- newControlFlowEdge(int, int) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Creates a control flow graph edge.
- newControlFlowExceptionEdge(int, int) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Creates a control flow graph edge corresponding to an exception handler.
- newControlFlowExceptionEdge(int, TryCatchBlockNode) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Creates a control flow graph edge corresponding to an exception handler.
- newEmptyValue(int) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Creates a new uninitialized value for a local variable.
- newExceptionValue(TryCatchBlockNode, Frame<V>, Type) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Creates a new value that represents the given exception type.
- newFrame(int, int) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Constructs a new frame with the given size.
- newFrame(Frame<? extends V>) - Method in class org.objectweb.asm.tree.analysis.Analyzer
-
Constructs a copy of the given frame.
- newOperation(AbstractInsnNode) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- newOperation(AbstractInsnNode) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Interprets a bytecode instruction without arguments.
- newOperation(AbstractInsnNode) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- newParameterValue(boolean, int, Type) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Creates a new value that represents the given parameter type.
- newReturnTypeValue(Type) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Creates a new value that represents the given return type.
- newValue(Type) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- newValue(Type) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Creates a new value that represents the given type.
- newValue(Type) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
- newValue(Type) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- node - Variable in exception org.objectweb.asm.tree.analysis.AnalyzerException
-
The bytecode instruction where the analysis failed.
- NULL_TYPE - Static variable in class org.objectweb.asm.tree.analysis.BasicInterpreter
-
Special type used for the null literal.
O
- org.objectweb.asm.tree.analysis - package org.objectweb.asm.tree.analysis
P
- pop() - Method in class org.objectweb.asm.tree.analysis.Frame
-
Pops a value from the operand stack of this frame.
- push(V) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Pushes a value into the operand stack of this frame.
R
- REFERENCE_VALUE - Static variable in class org.objectweb.asm.tree.analysis.BasicValue
-
An object or array reference value.
- RETURNADDRESS_VALUE - Static variable in class org.objectweb.asm.tree.analysis.BasicValue
-
A return address value (produced by a jsr instruction).
- returnOperation(AbstractInsnNode, BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- returnOperation(AbstractInsnNode, BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
- returnOperation(AbstractInsnNode, SourceValue, SourceValue) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- returnOperation(AbstractInsnNode, V, V) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Interprets a bytecode return instruction.
S
- setClassLoader(ClassLoader) - Method in class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Sets the
ClassLoader
to be used inSimpleVerifier.getClass(org.objectweb.asm.Type)
. - setLocal(int, V) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Sets the value of the given local variable.
- setReturn(V) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Sets the expected return type of the analyzed method.
- setStack(int, V) - Method in class org.objectweb.asm.tree.analysis.Frame
-
Sets the value of the given stack slot.
- SimpleVerifier - Class in org.objectweb.asm.tree.analysis
-
An extended
BasicVerifier
that performs more precise verifications. - SimpleVerifier() - Constructor for class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Constructs a new
SimpleVerifier
. - SimpleVerifier(int, Type, Type, List<Type>, boolean) - Constructor for class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Constructs a new
SimpleVerifier
to verify a specific class. - SimpleVerifier(Type, Type, boolean) - Constructor for class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Constructs a new
SimpleVerifier
to verify a specific class. - SimpleVerifier(Type, Type, List<Type>, boolean) - Constructor for class org.objectweb.asm.tree.analysis.SimpleVerifier
-
Constructs a new
SimpleVerifier
to verify a specific class. - size - Variable in class org.objectweb.asm.tree.analysis.SourceValue
-
The size of this value, in 32 bits words.
- SourceInterpreter - Class in org.objectweb.asm.tree.analysis
-
An
Interpreter
forSourceValue
values. - SourceInterpreter() - Constructor for class org.objectweb.asm.tree.analysis.SourceInterpreter
-
Constructs a new
SourceInterpreter
for the latest ASM API version. - SourceInterpreter(int) - Constructor for class org.objectweb.asm.tree.analysis.SourceInterpreter
-
Constructs a new
SourceInterpreter
. - SourceValue - Class in org.objectweb.asm.tree.analysis
-
A
Value
which keeps track of the bytecode instructions that can produce it. - SourceValue(int) - Constructor for class org.objectweb.asm.tree.analysis.SourceValue
-
Constructs a new
SourceValue
. - SourceValue(int, Set<AbstractInsnNode>) - Constructor for class org.objectweb.asm.tree.analysis.SourceValue
-
Constructs a new
SourceValue
. - SourceValue(int, AbstractInsnNode) - Constructor for class org.objectweb.asm.tree.analysis.SourceValue
-
Constructs a new
SourceValue
.
T
- ternaryOperation(AbstractInsnNode, BasicValue, BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- ternaryOperation(AbstractInsnNode, BasicValue, BasicValue, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
- ternaryOperation(AbstractInsnNode, SourceValue, SourceValue, SourceValue) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- ternaryOperation(AbstractInsnNode, V, V, V) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Interprets a bytecode instruction with three arguments.
- toString() - Method in class org.objectweb.asm.tree.analysis.BasicValue
- toString() - Method in class org.objectweb.asm.tree.analysis.Frame
-
Returns a string representation of this frame.
U
- unaryOperation(AbstractInsnNode, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicInterpreter
- unaryOperation(AbstractInsnNode, BasicValue) - Method in class org.objectweb.asm.tree.analysis.BasicVerifier
- unaryOperation(AbstractInsnNode, SourceValue) - Method in class org.objectweb.asm.tree.analysis.SourceInterpreter
- unaryOperation(AbstractInsnNode, V) - Method in class org.objectweb.asm.tree.analysis.Interpreter
-
Interprets a bytecode instruction with a single argument.
- UNINITIALIZED_VALUE - Static variable in class org.objectweb.asm.tree.analysis.BasicValue
-
An uninitialized value.
V
- Value - Interface in org.objectweb.asm.tree.analysis
-
An immutable symbolic value for the semantic interpretation of bytecode.
All Classes All Packages