| java.lang.Object org.ejb3unit.asm.MethodAdapter org.ejb3unit.asm.commons.AnalyzerAdapter
Field Summary | |
public List | locals List of the local variable slots for current execution
frame. | public List | stack List of the operand stack slots for current execution
frame. |
Constructor Summary | |
public | AnalyzerAdapter(String owner, int access, String name, String desc, MethodVisitor mv) Creates a new
AnalyzerAdapter .
Parameters: owner - the owner's class name. Parameters: access - the method's access flags (see Opcodes). Parameters: name - the method's name. Parameters: desc - the method's descriptor (see Type Type). Parameters: mv - the method visitor to which this adapter delegates calls. |
Method Summary | |
public void | visitFieldInsn(int opcode, String owner, String name, String desc) | public void | visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) | public void | visitIincInsn(int var, int increment) | public void | visitInsn(int opcode) | public void | visitIntInsn(int opcode, int operand) | public void | visitJumpInsn(int opcode, Label label) | public void | visitLabel(Label label) | public void | visitLdcInsn(Object cst) | public void | visitLookupSwitchInsn(Label dflt, int keys, Label labels) | public void | visitMaxs(int maxStack, int maxLocals) | public void | visitMethodInsn(int opcode, String owner, String name, String desc) | public void | visitMultiANewArrayInsn(String desc, int dims) | public void | visitTableSwitchInsn(int min, int max, Label dflt, Label labels) | public void | visitTypeInsn(int opcode, String desc) | public void | visitVarInsn(int opcode, int var) |
locals | public List locals(Code) | | List of the local variable slots for current execution
frame. Primitive types are represented by
Opcodes.TOP ,
Opcodes.INTEGER ,
Opcodes.FLOAT ,
Opcodes.LONG ,
Opcodes.DOUBLE ,
Opcodes.NULL or
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, or type descriptors for
array types), and uninitialized types by Label objects (this label
designates the NEW instruction that created this uninitialized value).
This field is null for unreacheable instructions.
|
stack | public List stack(Code) | | List of the operand stack slots for current execution
frame. Primitive types are represented by
Opcodes.TOP ,
Opcodes.INTEGER ,
Opcodes.FLOAT ,
Opcodes.LONG ,
Opcodes.DOUBLE ,
Opcodes.NULL or
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, or type descriptors for
array types), and uninitialized types by Label objects (this label
designates the NEW instruction that created this uninitialized value).
This field is null for unreacheable instructions.
|
AnalyzerAdapter | public AnalyzerAdapter(String owner, int access, String name, String desc, MethodVisitor mv)(Code) | | Creates a new
AnalyzerAdapter .
Parameters: owner - the owner's class name. Parameters: access - the method's access flags (see Opcodes). Parameters: name - the method's name. Parameters: desc - the method's descriptor (see Type Type). Parameters: mv - the method visitor to which this adapter delegates calls. Maybe null. |
visitFrame | public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack)(Code) | | |
visitIincInsn | public void visitIincInsn(int var, int increment)(Code) | | |
visitInsn | public void visitInsn(int opcode)(Code) | | |
visitIntInsn | public void visitIntInsn(int opcode, int operand)(Code) | | |
visitJumpInsn | public void visitJumpInsn(int opcode, Label label)(Code) | | |
visitLookupSwitchInsn | public void visitLookupSwitchInsn(Label dflt, int keys, Label labels)(Code) | | |
visitMaxs | public void visitMaxs(int maxStack, int maxLocals)(Code) | | |
visitMultiANewArrayInsn | public void visitMultiANewArrayInsn(String desc, int dims)(Code) | | |
visitTableSwitchInsn | public void visitTableSwitchInsn(int min, int max, Label dflt, Label labels)(Code) | | |
visitTypeInsn | public void visitTypeInsn(int opcode, String desc)(Code) | | |
visitVarInsn | public void visitVarInsn(int opcode, int var)(Code) | | |
Methods inherited from org.ejb3unit.asm.MethodAdapter | public AnnotationVisitor visitAnnotation(String desc, boolean visible)(Code)(Java Doc) public AnnotationVisitor visitAnnotationDefault()(Code)(Java Doc) public void visitAttribute(Attribute attr)(Code)(Java Doc) public void visitCode()(Code)(Java Doc) public void visitEnd()(Code)(Java Doc) public void visitFieldInsn(int opcode, String owner, String name, String desc)(Code)(Java Doc) public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack)(Code)(Java Doc) public void visitIincInsn(int var, int increment)(Code)(Java Doc) public void visitInsn(int opcode)(Code)(Java Doc) public void visitIntInsn(int opcode, int operand)(Code)(Java Doc) public void visitJumpInsn(int opcode, Label label)(Code)(Java Doc) public void visitLabel(Label label)(Code)(Java Doc) public void visitLdcInsn(Object cst)(Code)(Java Doc) public void visitLineNumber(int line, Label start)(Code)(Java Doc) public void visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index)(Code)(Java Doc) public void visitLookupSwitchInsn(Label dflt, int keys, Label labels)(Code)(Java Doc) public void visitMaxs(int maxStack, int maxLocals)(Code)(Java Doc) public void visitMethodInsn(int opcode, String owner, String name, String desc)(Code)(Java Doc) public void visitMultiANewArrayInsn(String desc, int dims)(Code)(Java Doc) public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible)(Code)(Java Doc) public void visitTableSwitchInsn(int min, int max, Label dflt, Label labels)(Code)(Java Doc) public void visitTryCatchBlock(Label start, Label end, Label handler, String type)(Code)(Java Doc) public void visitTypeInsn(int opcode, String desc)(Code)(Java Doc) public void visitVarInsn(int opcode, int var)(Code)(Java Doc)
|
|
|