类的使用
org.beetl.ow2.asm.AnnotationVisitor
使用AnnotationVisitor的程序包
程序包
说明
OSGL MVC Server's repackaging of
org.osgl.mvc.server.asm 5.0
(for internal use only).
Provides some useful class and method adapters.
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
Provides ASM visitors that can be useful for programming and
debugging purposes.
Provides SAX 2.0 adapters for ASM
visitors to convert classes to and from XML.
-
org.beetl.ow2.asm中AnnotationVisitor的使用
修饰符和类型字段说明protected AnnotationVisitorAnnotationVisitor.avThe annotation visitor to which this visitor must delegate method calls.修饰符和类型方法说明AnnotationVisitor.visitAnnotation(String name, String desc) Visits a nested annotation value of the annotation.ClassVisitor.visitAnnotation(String desc, boolean visible) Visits an annotation of the class.final AnnotationVisitorClassWriter.visitAnnotation(String desc, boolean visible) FieldVisitor.visitAnnotation(String desc, boolean visible) Visits an annotation of the field.MethodVisitor.visitAnnotation(String desc, boolean visible) Visits an annotation of this method.MethodVisitor.visitAnnotationDefault()Visits the default value of this annotation interface method.AnnotationVisitor.visitArray(String name) Visits an array value of the annotation.MethodVisitor.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Visits an annotation on an instruction.MethodVisitor.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) Visits an annotation on a local variable type.MethodVisitor.visitParameterAnnotation(int parameter, String desc, boolean visible) Visits an annotation of a parameter this method.MethodVisitor.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Visits an annotation on an exception handler type.ClassVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Visits an annotation on a type in the class signature.final AnnotationVisitorClassWriter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) FieldVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Visits an annotation on the type of the field.MethodVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) Visits an annotation on a type in the method signature.参数类型为AnnotationVisitor的org.beetl.ow2.asm中的构造器 -
org.beetl.ow2.asm.commons中AnnotationVisitor的使用
修饰符和类型方法说明protected AnnotationVisitorRemappingClassAdapter.createRemappingAnnotationAdapter(AnnotationVisitor av) RemappingAnnotationAdapter.visitAnnotation(String name, String desc) RemappingClassAdapter.visitAnnotation(String desc, boolean visible) RemappingFieldAdapter.visitAnnotation(String desc, boolean visible) RemappingMethodAdapter.visitAnnotation(String desc, boolean visible) RemappingMethodAdapter.visitAnnotationDefault()RemappingAnnotationAdapter.visitArray(String name) RemappingMethodAdapter.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) LocalVariablesSorter.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) RemappingMethodAdapter.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) RemappingMethodAdapter.visitParameterAnnotation(int parameter, String desc, boolean visible) RemappingMethodAdapter.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) RemappingClassAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) RemappingFieldAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) RemappingMethodAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) 修饰符和类型方法说明protected AnnotationVisitorRemappingClassAdapter.createRemappingAnnotationAdapter(AnnotationVisitor av) 参数类型为AnnotationVisitor的org.beetl.ow2.asm.commons中的构造器限定符构造器说明protectedRemappingAnnotationAdapter(int api, AnnotationVisitor av, Remapper remapper) RemappingAnnotationAdapter(AnnotationVisitor av, Remapper remapper) -
org.beetl.ow2.asm.optimizer中AnnotationVisitor的使用
修饰符和类型方法说明AnnotationConstantsCollector.visitAnnotation(String name, String desc) ClassConstantsCollector.visitAnnotation(String desc, boolean visible) ClassOptimizer.visitAnnotation(String desc, boolean visible) FieldConstantsCollector.visitAnnotation(String desc, boolean visible) MethodConstantsCollector.visitAnnotation(String desc, boolean visible) MethodOptimizer.visitAnnotation(String desc, boolean visible) MethodConstantsCollector.visitAnnotationDefault()MethodOptimizer.visitAnnotationDefault()AnnotationConstantsCollector.visitArray(String name) MethodConstantsCollector.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) MethodConstantsCollector.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) MethodConstantsCollector.visitParameterAnnotation(int parameter, String desc, boolean visible) MethodOptimizer.visitParameterAnnotation(int parameter, String desc, boolean visible) MethodConstantsCollector.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) ClassConstantsCollector.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) ClassOptimizer.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) FieldConstantsCollector.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) MethodConstantsCollector.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) MethodOptimizer.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) 参数类型为AnnotationVisitor的org.beetl.ow2.asm.optimizer中的构造器 -
org.beetl.ow2.asm.tree中AnnotationVisitor的使用
修饰符和类型类说明classA node that represents an annotationn.classA node that represents a type annotation on a local or resource variable.classA node that represents a type annotationn.修饰符和类型方法说明AnnotationNode.visitAnnotation(String name, String desc) ClassNode.visitAnnotation(String desc, boolean visible) FieldNode.visitAnnotation(String desc, boolean visible) MethodNode.visitAnnotation(String desc, boolean visible) MethodNode.visitAnnotationDefault()AnnotationNode.visitArray(String name) MethodNode.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) MethodNode.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) MethodNode.visitParameterAnnotation(int parameter, String desc, boolean visible) MethodNode.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) ClassNode.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) FieldNode.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) MethodNode.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) 参数类型为AnnotationVisitor的org.beetl.ow2.asm.tree中的方法修饰符和类型方法说明voidAnnotationNode.accept(AnnotationVisitor av) Makes the given visitor visit this annotation. -
org.beetl.ow2.asm.util中AnnotationVisitor的使用
修饰符和类型类说明classAnAnnotationVisitorthat checks that its methods are properly used.final classAnAnnotationVisitorthat prints the annotations it visits with aPrinter.修饰符和类型方法说明CheckAnnotationAdapter.visitAnnotation(String name, String desc) CheckClassAdapter.visitAnnotation(String desc, boolean visible) CheckFieldAdapter.visitAnnotation(String desc, boolean visible) CheckMethodAdapter.visitAnnotation(String desc, boolean visible) TraceAnnotationVisitor.visitAnnotation(String name, String desc) TraceClassVisitor.visitAnnotation(String desc, boolean visible) TraceFieldVisitor.visitAnnotation(String desc, boolean visible) TraceMethodVisitor.visitAnnotation(String desc, boolean visible) CheckMethodAdapter.visitAnnotationDefault()TraceMethodVisitor.visitAnnotationDefault()CheckAnnotationAdapter.visitArray(String name) TraceAnnotationVisitor.visitArray(String name) CheckMethodAdapter.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) TraceMethodVisitor.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) CheckMethodAdapter.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) TraceMethodVisitor.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) CheckMethodAdapter.visitParameterAnnotation(int parameter, String desc, boolean visible) TraceMethodVisitor.visitParameterAnnotation(int parameter, String desc, boolean visible) CheckMethodAdapter.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) TraceMethodVisitor.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) CheckClassAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) CheckFieldAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) CheckMethodAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) TraceClassVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) TraceFieldVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) TraceMethodVisitor.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) 参数类型为AnnotationVisitor的org.beetl.ow2.asm.util中的构造器限定符构造器说明 -
org.beetl.ow2.asm.xml中AnnotationVisitor的使用
修饰符和类型方法说明SAXAnnotationAdapter.visitAnnotation(String name, String desc) SAXClassAdapter.visitAnnotation(String desc, boolean visible) SAXCodeAdapter.visitAnnotation(String desc, boolean visible) SAXFieldAdapter.visitAnnotation(String desc, boolean visible) SAXCodeAdapter.visitAnnotationDefault()SAXAnnotationAdapter.visitArray(String name) SAXCodeAdapter.visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) SAXCodeAdapter.visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible) SAXCodeAdapter.visitParameterAnnotation(int parameter, String desc, boolean visible) SAXCodeAdapter.visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) SAXClassAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) SAXCodeAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible) SAXFieldAdapter.visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible)