Package | Description |
---|---|
org.objectweb.asm.util |
Provides ASM visitors that can be useful for programming and
debugging purposes.
|
Modifier and Type | Class | 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 | Description |
---|---|---|
Printer |
TraceClassVisitor.p |
The object that actually converts visit events into text.
|
Printer |
TraceFieldVisitor.p |
|
Printer |
TraceMethodVisitor.p |
Modifier and Type | Method | 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 |
Printer.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Class type annotation.
|
Printer |
Textifier.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
|
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 |
Printer.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Field type annotation.
|
Printer |
Textifier.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
|
Printer |
Printer.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Instruction type annotation.
|
Printer |
Textifier.visitInsnAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
|
Printer |
ASMifier.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 |
Textifier.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 |
Printer.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Method type annotation.
|
Printer |
Textifier.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
|
abstract Printer |
Printer.visitParameterAnnotation(int parameter,
String desc,
boolean visible) |
Method parameter annotation.
|
Printer |
Printer.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Try catch block type annotation.
|
Printer |
Textifier.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
String desc,
boolean visible) |
Constructor | 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) |