## 类的使用
org.springframework.asm.AnnotationVisitor

- 使用AnnotationVisitor的程序包
  程序包 | 说明
  --- | ---
  org.springframework.asm | Spring's repackaging of ASM 6.0 (with Spring-specific patches; for internal use only).
  org.springframework.core.type.classreading | Support classes for reading annotation and class-level metadata.

- - ### org.springframework.asm中AnnotationVisitor的使用

    声明为AnnotationVisitor的org.springframework.asm中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected AnnotationVisitor` | AnnotationVisitor.`av` The annotation visitor to which this visitor must delegate method calls.

    返回AnnotationVisitor的org.springframework.asm中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `AnnotationVisitor` | ClassVisitor.`visitAnnotation(String desc, boolean visible)` Visits an annotation of the class.
    `AnnotationVisitor` | ClassWriter.`visitAnnotation(String desc, boolean visible)`
    `AnnotationVisitor` | FieldVisitor.`visitAnnotation(String desc, boolean visible)` Visits an annotation of the field.
    `AnnotationVisitor` | MethodVisitor.`visitAnnotation(String desc, boolean visible)` Visits an annotation of this method.
    `AnnotationVisitor` | AnnotationVisitor.`visitAnnotation(String name, String desc)` Visits a nested annotation value of the annotation.
    `AnnotationVisitor` | MethodVisitor.`visitAnnotationDefault()` Visits the default value of this annotation interface method.
    `AnnotationVisitor` | AnnotationVisitor.`visitArray(String name)` Visits an array value of the annotation.
    `AnnotationVisitor` | MethodVisitor.`visitInsnAnnotation(int typeRef, TypePath typePath, String desc, boolean visible)` Visits an annotation on an instruction.
    `AnnotationVisitor` | MethodVisitor.`visitLocalVariableAnnotation(int typeRef, TypePath typePath, Label[] start, Label[] end, int[] index, String desc, boolean visible)` Visits an annotation on a local variable type.
    `AnnotationVisitor` | MethodVisitor.`visitParameterAnnotation(int parameter, String desc, boolean visible)` Visits an annotation of a parameter this method.
    `AnnotationVisitor` | MethodVisitor.`visitTryCatchAnnotation(int typeRef, TypePath typePath, String desc, boolean visible)` Visits an annotation on an exception handler type.
    `AnnotationVisitor` | ClassVisitor.`visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible)` Visits an annotation on a type in the class signature.
    `AnnotationVisitor` | ClassWriter.`visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible)`
    `AnnotationVisitor` | FieldVisitor.`visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible)` Visits an annotation on the type of the field.
    `AnnotationVisitor` | MethodVisitor.`visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible)` Visits an annotation on a type in the method signature.

    参数类型为AnnotationVisitor的org.springframework.asm中的构造器
    构造器和说明
    `AnnotationVisitor(int api, AnnotationVisitor av)` Constructs a new `AnnotationVisitor`.

  - ### org.springframework.core.type.classreading中AnnotationVisitor的使用

    返回AnnotationVisitor的org.springframework.core.type.classreading中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `AnnotationVisitor` | AnnotationMetadataReadingVisitor.`visitAnnotation(String desc, boolean visible)`
    `AnnotationVisitor` | MethodMetadataReadingVisitor.`visitAnnotation(String desc, boolean visible)`