| java.lang.Object org.objectweb.asm.jip.MethodAdapter
All known Subclasses: org.objectweb.asm.jip.commons.LocalVariablesSorter, com.mentorgen.tools.profile.instrument.PerfMethodAdapter,
MethodAdapter | public class MethodAdapter implements MethodVisitor(Code) | | An empty
MethodVisitor that delegates to another
MethodVisitor . This class can be used as a super class to quickly
implement usefull method adapter classes, just by overriding the necessary
methods.
author: Eric Bruneton |
Method Summary | |
public AnnotationVisitor | visitAnnotation(String desc, boolean visible) | public AnnotationVisitor | visitAnnotationDefault() | public void | visitAttribute(Attribute attr) | public void | visitCode() | public void | visitEnd() | public void | visitFieldInsn(int opcode, String owner, String name, String desc) | 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 | visitLineNumber(int line, Label start) | public void | visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) | 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 AnnotationVisitor | visitParameterAnnotation(int parameter, String desc, boolean visible) | public void | visitTableSwitchInsn(int min, int max, Label dflt, Label labels) | public void | visitTryCatchBlock(Label start, Label end, Label handler, String type) | public void | visitTypeInsn(int opcode, String desc) | public void | visitVarInsn(int opcode, int var) |
MethodAdapter | public MethodAdapter(MethodVisitor mv)(Code) | | Constructs a new
MethodAdapter object.
Parameters: mv - the code visitor to which this adapter must delegate calls. |
visitCode | public void visitCode()(Code) | | |
visitEnd | public void visitEnd()(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) | | |
visitLineNumber | public void visitLineNumber(int line, Label start)(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) | | |
|
|