Package | Description |
---|---|
org.mockito.asm.tree |
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
|
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 |
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 |
JumpInsnNode
A node that represents a jump instruction.
|
class |
LabelNode
An
AbstractInsnNode that encapsulates a Label . |
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.
|
Modifier and Type | Method and Description |
---|---|
AbstractInsnNode |
VarInsnNode.clone(Map labels) |
AbstractInsnNode |
TypeInsnNode.clone(Map labels) |
AbstractInsnNode |
TableSwitchInsnNode.clone(Map labels) |
AbstractInsnNode |
MultiANewArrayInsnNode.clone(Map labels) |
AbstractInsnNode |
MethodInsnNode.clone(Map labels) |
AbstractInsnNode |
LookupSwitchInsnNode.clone(Map labels) |
AbstractInsnNode |
LineNumberNode.clone(Map labels) |
AbstractInsnNode |
LdcInsnNode.clone(Map labels) |
AbstractInsnNode |
LabelNode.clone(Map labels) |
AbstractInsnNode |
JumpInsnNode.clone(Map labels) |
AbstractInsnNode |
IntInsnNode.clone(Map labels) |
AbstractInsnNode |
InsnNode.clone(Map labels) |
AbstractInsnNode |
IincInsnNode.clone(Map labels) |
AbstractInsnNode |
FrameNode.clone(Map labels) |
AbstractInsnNode |
FieldInsnNode.clone(Map labels) |
abstract AbstractInsnNode |
AbstractInsnNode.clone(Map labels)
Returns a copy of 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 of the instructions in this list.
|
Modifier and Type | Method and Description |
---|---|
void |
InsnList.add(AbstractInsnNode insn)
Adds the given instruction to the end of this list.
|
boolean |
InsnList.contains(AbstractInsnNode insn)
Returns true if the given instruction belongs to this list.
|
int |
InsnList.indexOf(AbstractInsnNode insn)
Returns the index of the given instruction in this list.
|
void |
InsnList.insert(AbstractInsnNode insn)
Inserts the given instruction at the begining of this list.
|
void |
InsnList.insert(AbstractInsnNode location,
AbstractInsnNode insn)
Inserts the given instruction after the specified instruction.
|
void |
InsnList.insert(AbstractInsnNode location,
InsnList insns)
Inserts the given instructions after the specified instruction.
|
void |
InsnList.insertBefore(AbstractInsnNode location,
AbstractInsnNode insn)
Inserts the given instruction before the specified instruction.
|
void |
InsnList.insertBefore(AbstractInsnNode location,
InsnList insns)
Inserts the given instructions before the specified instruction.
|
void |
InsnList.remove(AbstractInsnNode insn)
Removes the given instruction from this list.
|
void |
InsnList.set(AbstractInsnNode location,
AbstractInsnNode insn)
Replaces an instruction of this list with another instruction.
|
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) |
void |
Frame.execute(AbstractInsnNode insn,
Interpreter interpreter) |
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.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 |
---|
SourceValue(int size,
AbstractInsnNode insn) |
Copyright © 2018. All rights reserved.