Package | Description |
---|---|
org.objectweb.asm.tree |
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
|
org.objectweb.asm.tree.analysis |
Provides a framework for static code analysis based on the asm.tree package.
|
Modifier and Type | Class | 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 |
InvokeDynamicInsnNode |
A node that represents an invokedynamic instruction.
|
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 | Description |
---|---|---|
abstract AbstractInsnNode |
AbstractInsnNode.clone(Map<LabelNode,LabelNode> labels) |
Returns a copy of this instruction.
|
AbstractInsnNode |
FieldInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
FrameNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
IincInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
InsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
IntInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
InvokeDynamicInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
JumpInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
LabelNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
LdcInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
LineNumberNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
LookupSwitchInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
MethodInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
MultiANewArrayInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
TableSwitchInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
TypeInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
AbstractInsnNode |
VarInsnNode.clone(Map<LabelNode,LabelNode> labels) |
|
protected AbstractInsnNode |
AbstractInsnNode.cloneAnnotations(AbstractInsnNode insn) |
Clones the annotations of the given instruction into 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 | Description |
---|---|---|
ListIterator<AbstractInsnNode> |
InsnList.iterator() |
Returns an iterator over the instructions in this list.
|
ListIterator<AbstractInsnNode> |
InsnList.iterator(int index) |
Returns an iterator over the instructions in this list.
|
Modifier and Type | Method | Description |
---|---|---|
void |
InsnList.add(AbstractInsnNode insn) |
Adds the given instruction to the end of this list.
|
protected AbstractInsnNode |
AbstractInsnNode.cloneAnnotations(AbstractInsnNode insn) |
Clones the annotations of the given instruction into this instruction.
|
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 | Field | Description |
---|---|---|
AbstractInsnNode |
AnalyzerException.node |
Modifier and Type | Field | Description |
---|---|---|
Set<AbstractInsnNode> |
SourceValue.insns |
The instructions that can produce this value.
|
Modifier and Type | Method | Description |
---|---|---|
BasicValue |
BasicInterpreter.binaryOperation(AbstractInsnNode insn,
BasicValue value1,
BasicValue value2) |
|
BasicValue |
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.
|
SourceValue |
SourceInterpreter.binaryOperation(AbstractInsnNode insn,
SourceValue value1,
SourceValue value2) |
|
BasicValue |
BasicInterpreter.copyOperation(AbstractInsnNode insn,
BasicValue value) |
|
BasicValue |
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.
|
SourceValue |
SourceInterpreter.copyOperation(AbstractInsnNode insn,
SourceValue value) |
|
void |
Frame.execute(AbstractInsnNode insn,
Interpreter<V> interpreter) |
|
BasicValue |
BasicInterpreter.naryOperation(AbstractInsnNode insn,
List<? extends BasicValue> values) |
|
BasicValue |
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.
|
SourceValue |
SourceInterpreter.naryOperation(AbstractInsnNode insn,
List<? extends SourceValue> values) |
|
BasicValue |
BasicInterpreter.newOperation(AbstractInsnNode insn) |
|
abstract V |
Interpreter.newOperation(AbstractInsnNode insn) |
Interprets a bytecode instruction without arguments.
|
SourceValue |
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) |
|
BasicValue |
BasicInterpreter.ternaryOperation(AbstractInsnNode insn,
BasicValue value1,
BasicValue value2,
BasicValue value3) |
|
BasicValue |
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.
|
SourceValue |
SourceInterpreter.ternaryOperation(AbstractInsnNode insn,
SourceValue value1,
SourceValue value2,
SourceValue value3) |
|
BasicValue |
BasicInterpreter.unaryOperation(AbstractInsnNode insn,
BasicValue value) |
|
BasicValue |
BasicVerifier.unaryOperation(AbstractInsnNode insn,
BasicValue value) |
|
abstract V |
Interpreter.unaryOperation(AbstractInsnNode insn,
V value) |
Interprets a bytecode instruction with a single argument.
|
SourceValue |
SourceInterpreter.unaryOperation(AbstractInsnNode insn,
SourceValue value) |
Constructor | Description |
---|---|
AnalyzerException(AbstractInsnNode node,
String msg) |
|
AnalyzerException(AbstractInsnNode node,
String msg,
Object expected,
Value encountered) |
|
AnalyzerException(AbstractInsnNode node,
String msg,
Throwable exception) |
|
SourceValue(int size,
AbstractInsnNode insn) |
Constructor | Description |
---|---|
SourceValue(int size,
Set<AbstractInsnNode> insns) |