Package | Description |
---|---|
org.objectweb.asm.util |
Provides ASM visitors that can be useful for programming and
debugging purposes.
|
Modifier and Type | Class and Description |
---|---|
class |
ASMifier
A
Printer that prints the ASM code to generate the classes if visits. |
class |
Textifier
A
Printer that prints a disassembled view of the classes it visits. |
Modifier and Type | Field and Description |
---|---|
Printer |
TraceMethodVisitor.p |
Printer |
TraceFieldVisitor.p |
Printer |
TraceClassVisitor.p
The object that actually converts visit events into text.
|
Modifier and Type | Method and Description |
---|---|
abstract Printer |
Printer.visitAnnotation(String name,
String desc)
Nested annotation value.
|
abstract Printer |
Printer.visitAnnotationDefault()
Method default annotation.
|
abstract Printer |
Printer.visitArray(String name)
Annotation array value.
|
abstract Printer |
Printer.visitClassAnnotation(String desc,
boolean visible)
Class annotation.
|
Printer |
Textifier.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Class type annotation.
|
abstract Printer |
Printer.visitField(int access,
String name,
String desc,
String signature,
Object value)
Class field.
|
abstract Printer |
Printer.visitFieldAnnotation(String desc,
boolean visible)
Field annotation.
|
Printer |
Textifier.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Field type annotation.
|
Printer |
Textifier.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Instruction type annotation.
|
Printer |
Textifier.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
Printer |
Printer.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible)
Local variable type annotation.
|
Printer |
ASMifier.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
String desc,
boolean visible) |
abstract Printer |
Printer.visitMethod(int access,
String name,
String desc,
String signature,
String[] exceptions)
Class method.
|
abstract Printer |
Printer.visitMethodAnnotation(String desc,
boolean visible)
Method annotation.
|
Printer |
Textifier.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Method type annotation.
|
abstract Printer |
Printer.visitParameterAnnotation(int parameter,
String desc,
boolean visible)
Method parameter annotation.
|
Printer |
Textifier.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Printer |
Printer.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible)
Try catch block type annotation.
|
Constructor and Description |
---|
TraceAnnotationVisitor(AnnotationVisitor av,
Printer p) |
TraceAnnotationVisitor(Printer p) |
TraceClassVisitor(ClassVisitor cv,
Printer p,
PrintWriter pw)
Constructs a new
TraceClassVisitor . |
TraceFieldVisitor(FieldVisitor fv,
Printer p) |
TraceFieldVisitor(Printer p) |
TraceMethodVisitor(MethodVisitor mv,
Printer p) |
TraceMethodVisitor(Printer p) |