org.objectweb.asm.commons
public class AnalyzerAdapter extends MethodAdapter
Field Summary | |
---|---|
List | localsList of the local variable slots for current execution
frame. |
List | stackList of the operand stack slots for current execution
frame. |
Constructor Summary | |
---|---|
AnalyzerAdapter(String owner, int access, String name, String desc, MethodVisitor mv)
Creates a new {@link AnalyzerAdapter}.
|
Method Summary | |
---|---|
void | visitFieldInsn(int opcode, String owner, String name, String desc) |
void | visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) |
void | visitIincInsn(int var, int increment) |
void | visitInsn(int opcode) |
void | visitIntInsn(int opcode, int operand) |
void | visitJumpInsn(int opcode, Label label) |
void | visitLabel(Label label) |
void | visitLdcInsn(Object cst) |
void | visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) |
void | visitMaxs(int maxStack, int maxLocals) |
void | visitMethodInsn(int opcode, String owner, String name, String desc) |
void | visitMultiANewArrayInsn(String desc, int dims) |
void | visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) |
void | visitTypeInsn(int opcode, String type) |
void | visitVarInsn(int opcode, int var) |
List
of the local variable slots for current execution
frame. Primitive types are represented by {@link Opcodes#TOP},
{@link Opcodes#INTEGER}, {@link Opcodes#FLOAT}, {@link Opcodes#LONG},
{@link Opcodes#DOUBLE},{@link Opcodes#NULL} or
{@link Opcodes#UNINITIALIZED_THIS} (long and double are represented by a
two elements, the second one being TOP). Reference types are represented
by String objects (representing internal names), and uninitialized types
by Label objects (this label designates the NEW instruction that created
this uninitialized value). This field is null for unreacheable
instructions.List
of the operand stack slots for current execution
frame. Primitive types are represented by {@link Opcodes#TOP},
{@link Opcodes#INTEGER}, {@link Opcodes#FLOAT}, {@link Opcodes#LONG},
{@link Opcodes#DOUBLE},{@link Opcodes#NULL} or
{@link Opcodes#UNINITIALIZED_THIS} (long and double are represented by a
two elements, the second one being TOP). Reference types are represented
by String objects (representing internal names), and uninitialized types
by Label objects (this label designates the NEW instruction that created
this uninitialized value). This field is null for unreacheable
instructions.Parameters: owner the owner's class name. access the method's access flags (see {@link Opcodes}). name the method's name. desc the method's descriptor (see {@link Type Type}). mv the method visitor to which this adapter delegates calls. May be null.