org.objectweb.asm.util
public class TraceMethodVisitor extends TraceAbstractVisitor implements MethodVisitor
| Field Summary | |
|---|---|
| protected Map | labelNames
The label names. |
| protected String | ltab
Tab for labels. |
| protected MethodVisitor | mv
The MethodVisitor to which this visitor delegates calls. |
| protected String | tab2
Tab for bytecode instructions. |
| protected String | tab3
Tab for table and lookup switch instructions. |
| Constructor Summary | |
|---|---|
| TraceMethodVisitor()
Constructs a new TraceMethodVisitor. | |
| TraceMethodVisitor(MethodVisitor mv)
Constructs a new TraceMethodVisitor.
| |
| Method Summary | |
|---|---|
| protected void | appendLabel(Label l)
Appends the name of the given label to buf. |
| AnnotationVisitor | visitAnnotation(String desc, boolean visible) |
| AnnotationVisitor | visitAnnotationDefault() |
| void | visitAttribute(Attribute attr) |
| void | visitCode() |
| void | visitEnd() |
| 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 | visitLineNumber(int line, Label start) |
| void | visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) |
| 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) |
| AnnotationVisitor | visitParameterAnnotation(int parameter, String desc, boolean visible) |
| void | visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) |
| void | visitTryCatchBlock(Label start, Label end, Label handler, String type) |
| void | visitTypeInsn(int opcode, String type) |
| void | visitVarInsn(int opcode, int var) |
Parameters: mv the MethodVisitor to which this visitor delegates calls. May be null.
buf. Creates a new
label name if the given label does not yet have one.
Parameters: l a label.