Package | Description |
---|---|
org.objectweb.asm.tree.analysis |
Provides a framework for static code analysis based on the asm.tree package.
|
Modifier and Type | Method and Description |
---|---|
Frame<V>[] |
Analyzer.analyze(String owner,
MethodNode m)
Analyzes the given method.
|
BasicValue |
BasicVerifier.binaryOperation(AbstractInsnNode insn,
BasicValue value1,
BasicValue value2) |
BasicValue |
BasicInterpreter.binaryOperation(AbstractInsnNode insn,
BasicValue value1,
BasicValue value2) |
abstract V |
Interpreter.binaryOperation(AbstractInsnNode insn,
V value1,
V value2)
Interprets a bytecode instruction with two arguments.
|
BasicValue |
BasicVerifier.copyOperation(AbstractInsnNode insn,
BasicValue value) |
BasicValue |
BasicInterpreter.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.
|
void |
Frame.execute(AbstractInsnNode insn,
Interpreter<V> interpreter) |
protected BasicValue |
SimpleVerifier.getElementValue(BasicValue objectArrayValue) |
protected BasicValue |
BasicVerifier.getElementValue(BasicValue objectArrayValue) |
protected void |
Analyzer.init(String owner,
MethodNode m)
Initializes this analyzer.
|
boolean |
Frame.merge(Frame<? extends V> frame,
Interpreter<V> interpreter)
Merges this frame with the given frame.
|
BasicValue |
BasicVerifier.naryOperation(AbstractInsnNode insn,
List<? extends BasicValue> values) |
BasicValue |
BasicInterpreter.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.
|
abstract V |
Interpreter.newOperation(AbstractInsnNode insn)
Interprets a bytecode instruction without arguments.
|
BasicValue |
BasicInterpreter.newOperation(AbstractInsnNode insn) |
void |
BasicVerifier.returnOperation(AbstractInsnNode insn,
BasicValue value,
BasicValue expected) |
void |
BasicInterpreter.returnOperation(AbstractInsnNode insn,
BasicValue value,
BasicValue expected) |
abstract void |
Interpreter.returnOperation(AbstractInsnNode insn,
V value,
V expected)
Interprets a bytecode return instruction.
|
BasicValue |
BasicVerifier.ternaryOperation(AbstractInsnNode insn,
BasicValue value1,
BasicValue value2,
BasicValue value3) |
BasicValue |
BasicInterpreter.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.
|
BasicValue |
BasicVerifier.unaryOperation(AbstractInsnNode insn,
BasicValue value) |
BasicValue |
BasicInterpreter.unaryOperation(AbstractInsnNode insn,
BasicValue value) |
abstract V |
Interpreter.unaryOperation(AbstractInsnNode insn,
V value)
Interprets a bytecode instruction with a single argument.
|