Class ImportAnnotationVisitor


  • class ImportAnnotationVisitor
    extends org.objectweb.asm.AnnotationVisitor
    Scan the values of an Import annotation
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ImportAnnotation anno  
      • Fields inherited from class org.objectweb.asm.AnnotationVisitor

        api, av
    • Constructor Summary

      Constructors 
      Constructor Description
      ImportAnnotationVisitor​(java.lang.String className, java.lang.String methodName, java.lang.String descriptor, java.util.Map<java.lang.String,​ImportAnnotation> annotations)
      Create an instance and add an ImportAnnotation to the container.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visit​(java.lang.String name, java.lang.Object value)
      • Methods inherited from class org.objectweb.asm.AnnotationVisitor

        getDelegate, visitAnnotation, visitArray, visitEnd, visitEnum
      • Methods inherited from class java.lang.Object

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

      • ImportAnnotationVisitor

        public ImportAnnotationVisitor​(java.lang.String className,
                                       java.lang.String methodName,
                                       java.lang.String descriptor,
                                       java.util.Map<java.lang.String,​ImportAnnotation> annotations)
        Create an instance and add an ImportAnnotation to the container.
        Parameters:
        className - the name of the class in the internal form of fully qualified class. For example, "java/util/List".
        methodName - method name
        descriptor - the method's descriptor (see Type).
        annotations - container for found annotations, key is method name with signature
    • Method Detail

      • visit

        public void visit​(java.lang.String name,
                          java.lang.Object value)
        Overrides:
        visit in class org.objectweb.asm.AnnotationVisitor