org.objectweb.asm.util
public class TraceMethodVisitor extends TraceAbstractVisitor implements MethodVisitor
Field Summary | |
---|---|
protected HashMap | labelNames
The label names. |
protected String | ltab
Tab for labels. |
protected MethodVisitor | mv
The {@link 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 {@link TraceMethodVisitor}. | |
TraceMethodVisitor(MethodVisitor mv)
Constructs a new {@link TraceMethodVisitor}.
|
Method Summary | |
---|---|
void | appendLabel(Label l)
Appends the name of the given label to {@link #buf 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 | 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 desc) |
void | visitVarInsn(int opcode, int var) |
Parameters: mv the {@link MethodVisitor} to which this visitor delegates calls. May be null.
Parameters: l a label.