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 |
TraceClassVisitor.p
The printer to convert the visited class into text.
|
Printer |
TraceFieldVisitor.p
The printer to convert the visited field into text.
|
Printer |
TraceMethodVisitor.p
The printer to convert the visited method into text.
|
Printer |
TraceModuleVisitor.p
The printer to convert the visited module into text.
|
private Printer |
TraceAnnotationVisitor.printer
The printer to convert the visited annotation into text.
|
Modifier and Type | Method and Description |
---|---|
Printer |
Printer.visitAnnotableParameterCount(int parameterCount,
boolean visible)
Number of method parameters that can have annotations.
|
abstract Printer |
Printer.visitAnnotation(java.lang.String name,
java.lang.String descriptor)
Nested annotation value.
|
abstract Printer |
Printer.visitAnnotationDefault()
Method default annotation.
|
abstract Printer |
Printer.visitArray(java.lang.String name)
Annotation array value.
|
abstract Printer |
Printer.visitClassAnnotation(java.lang.String descriptor,
boolean visible)
Class annotation.
|
Printer |
Printer.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible)
Class type annotation.
|
Printer |
Textifier.visitClassTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible) |
abstract Printer |
Printer.visitField(int access,
java.lang.String name,
java.lang.String descriptor,
java.lang.String signature,
java.lang.Object value)
Class field.
|
abstract Printer |
Printer.visitFieldAnnotation(java.lang.String descriptor,
boolean visible)
Field annotation.
|
Printer |
Printer.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible)
Field type annotation.
|
Printer |
Textifier.visitFieldTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible) |
Printer |
Printer.visitInsnAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible)
Instruction type annotation.
|
Printer |
Textifier.visitInsnAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible) |
Printer |
Printer.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
java.lang.String descriptor,
boolean visible)
Local variable type annotation.
|
Printer |
Textifier.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
java.lang.String descriptor,
boolean visible) |
Printer |
ASMifier.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
java.lang.String descriptor,
boolean visible) |
abstract Printer |
Printer.visitMethod(int access,
java.lang.String name,
java.lang.String descriptor,
java.lang.String signature,
java.lang.String[] exceptions)
Class method.
|
abstract Printer |
Printer.visitMethodAnnotation(java.lang.String descriptor,
boolean visible)
Method annotation.
|
Printer |
Printer.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible)
Method type annotation.
|
Printer |
Textifier.visitMethodTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible) |
Printer |
Printer.visitModule(java.lang.String name,
int access,
java.lang.String version)
Module.
|
Printer |
Textifier.visitModule(java.lang.String name,
int access,
java.lang.String version) |
Printer |
ASMifier.visitModule(java.lang.String name,
int flags,
java.lang.String version) |
abstract Printer |
Printer.visitParameterAnnotation(int parameter,
java.lang.String descriptor,
boolean visible)
Method parameter annotation.
|
Printer |
Printer.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible)
Try catch block type annotation.
|
Printer |
Textifier.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
java.lang.String descriptor,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
Printer.main(java.lang.String usage,
Printer printer,
java.lang.String[] args)
Prints a the given class to the standard output.
|
Constructor and Description |
---|
TraceAnnotationVisitor(AnnotationVisitor annotationVisitor,
Printer printer)
Constructs a new
TraceAnnotationVisitor . |
TraceAnnotationVisitor(Printer printer)
Constructs a new
TraceAnnotationVisitor . |
TraceClassVisitor(ClassVisitor classVisitor,
Printer printer,
java.io.PrintWriter printWriter)
Constructs a new
TraceClassVisitor . |
TraceFieldVisitor(FieldVisitor fieldVisitor,
Printer printer)
Constructs a new
TraceFieldVisitor . |
TraceFieldVisitor(Printer printer)
Constructs a new
TraceFieldVisitor . |
TraceMethodVisitor(MethodVisitor methodVisitor,
Printer printer)
Constructs a new
TraceMethodVisitor . |
TraceMethodVisitor(Printer printer)
Constructs a new
TraceMethodVisitor . |
TraceModuleVisitor(ModuleVisitor moduleVisitor,
Printer printer)
Constructs a new
TraceModuleVisitor . |
TraceModuleVisitor(Printer printer)
Constructs a new
TraceModuleVisitor . |