类的使用
org.beetl.ow2.asm.util.Printer
使用Printer的程序包
程序包
说明
Provides ASM visitors that can be useful for programming and
debugging purposes.
-
org.beetl.ow2.asm.util中Printer的使用
修饰符和类型类说明classAPrinterthat prints the ASM code to generate the classes if visits.classAPrinterthat prints a disassembled view of the classes it visits.声明为Printer的org.beetl.ow2.asm.util中的字段修饰符和类型字段说明final PrinterTraceClassVisitor.pThe object that actually converts visit events into text.final PrinterTraceFieldVisitor.pfinal PrinterTraceMethodVisitor.p修饰符和类型方法说明abstract PrinterPrinter.visitAnnotation(String name, String desc) Nested annotation value.abstract PrinterPrinter.visitAnnotationDefault()Method default annotation.abstract PrinterPrinter.visitArray(String name) Annotation array value.abstract PrinterPrinter.visitClassAnnotation(String desc, boolean visible) Class annotation.Printer.visitClassTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Class type annotation.Textifier.visitClassTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) abstract PrinterPrinter.visitField(int access, String name, String desc, String signature, Object value) Class field.abstract PrinterPrinter.visitFieldAnnotation(String desc, boolean visible) Field annotation.Printer.visitFieldTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Field type annotation.Textifier.visitFieldTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Printer.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Instruction type annotation.Textifier.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) ASMifier.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) Printer.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) Local variable type annotation.Textifier.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) abstract PrinterPrinter.visitMethod(int access, String name, String desc, String signature, String[] exceptions) Class method.abstract PrinterPrinter.visitMethodAnnotation(String desc, boolean visible) Method annotation.Printer.visitMethodTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Method type annotation.Textifier.visitMethodTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) abstract PrinterPrinter.visitParameterAnnotation(int parameter, String desc, boolean visible) Method parameter annotation.Printer.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Try catch block type annotation.Textifier.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) 参数类型为Printer的org.beetl.ow2.asm.util中的构造器限定符构造器说明TraceClassVisitor(ClassVisitor cv, Printer p, PrintWriter pw) Constructs a newTraceClassVisitor.TraceFieldVisitor(FieldVisitor fv, Printer p)