Package | Description |
---|---|
org.mockito.asm.tree.analysis |
Provides a framework for static code analysis based on the asm.tree package.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicValue
A
Value that is represented by its type in a seven types type system. |
class |
SourceValue
A
Value that is represented by its type in a two types type system. |
Modifier and Type | Field and Description |
---|---|
static Value |
BasicValue.DOUBLE_VALUE |
static Value |
BasicValue.FLOAT_VALUE |
static Value |
BasicValue.INT_VALUE |
static Value |
BasicValue.LONG_VALUE |
static Value |
BasicValue.REFERENCE_VALUE |
static Value |
BasicValue.RETURNADDRESS_VALUE |
static Value |
BasicValue.UNINITIALIZED_VALUE |
Modifier and Type | Method and Description |
---|---|
Value |
SourceInterpreter.binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2) |
Value |
Interpreter.binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2)
Interprets a bytecode instruction with two arguments.
|
Value |
BasicVerifier.binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2) |
Value |
BasicInterpreter.binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2) |
Value |
SourceInterpreter.copyOperation(AbstractInsnNode insn,
Value value) |
Value |
Interpreter.copyOperation(AbstractInsnNode insn,
Value value)
Interprets a bytecode instruction that moves a value on the stack or to
or from local variables.
|
Value |
BasicVerifier.copyOperation(AbstractInsnNode insn,
Value value) |
Value |
BasicInterpreter.copyOperation(AbstractInsnNode insn,
Value value) |
protected Value |
SimpleVerifier.getElementValue(Value objectArrayValue) |
protected Value |
BasicVerifier.getElementValue(Value objectArrayValue) |
Value |
Frame.getLocal(int i)
Returns the value of the given local variable.
|
Value |
Frame.getStack(int i)
Returns the value of the given operand stack slot.
|
Value |
SourceInterpreter.merge(Value v,
Value w) |
Value |
SimpleVerifier.merge(Value v,
Value w) |
Value |
Interpreter.merge(Value v,
Value w)
Merges two values.
|
Value |
BasicInterpreter.merge(Value v,
Value w) |
Value |
SourceInterpreter.naryOperation(AbstractInsnNode insn,
List values) |
Value |
Interpreter.naryOperation(AbstractInsnNode insn,
List values)
Interprets a bytecode instruction with a variable number of arguments.
|
Value |
BasicVerifier.naryOperation(AbstractInsnNode insn,
List values) |
Value |
BasicInterpreter.naryOperation(AbstractInsnNode insn,
List values) |
Value |
SourceInterpreter.newOperation(AbstractInsnNode insn) |
Value |
Interpreter.newOperation(AbstractInsnNode insn)
Interprets a bytecode instruction without arguments.
|
Value |
BasicInterpreter.newOperation(AbstractInsnNode insn) |
Value |
SourceInterpreter.newValue(Type type) |
Value |
SimpleVerifier.newValue(Type type) |
Value |
Interpreter.newValue(Type type)
Creates a new value that represents the given type.
|
Value |
BasicInterpreter.newValue(Type type) |
Value |
Frame.pop()
Pops a value from the operand stack of this frame.
|
Value |
SourceInterpreter.ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3) |
Value |
Interpreter.ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3)
Interprets a bytecode instruction with three arguments.
|
Value |
BasicVerifier.ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3) |
Value |
BasicInterpreter.ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3) |
Value |
SourceInterpreter.unaryOperation(AbstractInsnNode insn,
Value value) |
Value |
Interpreter.unaryOperation(AbstractInsnNode insn,
Value value)
Interprets a bytecode instruction with a single argument.
|
Value |
BasicVerifier.unaryOperation(AbstractInsnNode insn,
Value value) |
Value |
BasicInterpreter.unaryOperation(AbstractInsnNode insn,
Value value) |
Modifier and Type | Method and Description |
---|---|
Value |
SourceInterpreter.binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2) |
Value |
Interpreter.binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2)
Interprets a bytecode instruction with two arguments.
|
Value |
BasicVerifier.binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2) |
Value |
BasicInterpreter.binaryOperation(AbstractInsnNode insn,
Value value1,
Value value2) |
Value |
SourceInterpreter.copyOperation(AbstractInsnNode insn,
Value value) |
Value |
Interpreter.copyOperation(AbstractInsnNode insn,
Value value)
Interprets a bytecode instruction that moves a value on the stack or to
or from local variables.
|
Value |
BasicVerifier.copyOperation(AbstractInsnNode insn,
Value value) |
Value |
BasicInterpreter.copyOperation(AbstractInsnNode insn,
Value value) |
protected Value |
SimpleVerifier.getElementValue(Value objectArrayValue) |
protected Value |
BasicVerifier.getElementValue(Value objectArrayValue) |
protected boolean |
SimpleVerifier.isArrayValue(Value value) |
protected boolean |
BasicVerifier.isArrayValue(Value value) |
protected boolean |
SimpleVerifier.isSubTypeOf(Value value,
Value expected) |
protected boolean |
BasicVerifier.isSubTypeOf(Value value,
Value expected) |
Value |
SourceInterpreter.merge(Value v,
Value w) |
Value |
SimpleVerifier.merge(Value v,
Value w) |
Value |
Interpreter.merge(Value v,
Value w)
Merges two values.
|
Value |
BasicInterpreter.merge(Value v,
Value w) |
void |
Frame.push(Value value)
Pushes a value into the operand stack of this frame.
|
void |
Frame.setLocal(int i,
Value value)
Sets the value of the given local variable.
|
Value |
SourceInterpreter.ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3) |
Value |
Interpreter.ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3)
Interprets a bytecode instruction with three arguments.
|
Value |
BasicVerifier.ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3) |
Value |
BasicInterpreter.ternaryOperation(AbstractInsnNode insn,
Value value1,
Value value2,
Value value3) |
Value |
SourceInterpreter.unaryOperation(AbstractInsnNode insn,
Value value) |
Value |
Interpreter.unaryOperation(AbstractInsnNode insn,
Value value)
Interprets a bytecode instruction with a single argument.
|
Value |
BasicVerifier.unaryOperation(AbstractInsnNode insn,
Value value) |
Value |
BasicInterpreter.unaryOperation(AbstractInsnNode insn,
Value value) |
Constructor and Description |
---|
AnalyzerException(String msg,
Object expected,
Value encountered) |
Copyright © 2018. All rights reserved.