Class AnnotationParser.MyClassVisitor

  • Enclosing class:
    AnnotationParser

    public class AnnotationParser.MyClassVisitor
    extends org.objectweb.asm.ClassVisitor
    ASM visitor for a class.
    • Field Summary

      • Fields inherited from class org.objectweb.asm.ClassVisitor

        api, cv
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visit​(int version, int access, java.lang.String name, java.lang.String signature, java.lang.String superName, java.lang.String[] interfaces)  
      org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String desc, boolean visible)
      Visit an annotation on a Class
      org.objectweb.asm.FieldVisitor visitField​(int access, java.lang.String fieldName, java.lang.String fieldType, java.lang.String signature, java.lang.Object value)
      Visit a field to extract its annotations
      org.objectweb.asm.MethodVisitor visitMethod​(int access, java.lang.String name, java.lang.String methodDesc, java.lang.String signature, java.lang.String[] exceptions)
      Visit a method to extract its annotations
      • Methods inherited from class org.objectweb.asm.ClassVisitor

        visitAttribute, visitEnd, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitSource, visitTypeAnnotation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • visit

        public void visit​(int version,
                          int access,
                          java.lang.String name,
                          java.lang.String signature,
                          java.lang.String superName,
                          java.lang.String[] interfaces)
        Overrides:
        visit in class org.objectweb.asm.ClassVisitor
      • visitAnnotation

        public org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String desc,
                                                                   boolean visible)
        Visit an annotation on a Class
        Overrides:
        visitAnnotation in class org.objectweb.asm.ClassVisitor
      • visitMethod

        public org.objectweb.asm.MethodVisitor visitMethod​(int access,
                                                           java.lang.String name,
                                                           java.lang.String methodDesc,
                                                           java.lang.String signature,
                                                           java.lang.String[] exceptions)
        Visit a method to extract its annotations
        Overrides:
        visitMethod in class org.objectweb.asm.ClassVisitor
      • visitField

        public org.objectweb.asm.FieldVisitor visitField​(int access,
                                                         java.lang.String fieldName,
                                                         java.lang.String fieldType,
                                                         java.lang.String signature,
                                                         java.lang.Object value)
        Visit a field to extract its annotations
        Overrides:
        visitField in class org.objectweb.asm.ClassVisitor