Class AnnotationsAttribute

    • Field Detail

      • u2annotationsCount

        public int u2annotationsCount
    • Constructor Detail

      • AnnotationsAttribute

        protected AnnotationsAttribute()
        Creates an uninitialized AnnotationsAttribute.
      • AnnotationsAttribute

        protected AnnotationsAttribute​(int u2attributeNameIndex,
                                       int u2annotationsCount,
                                       Annotation[] annotations)
        Creates an initialized AnnotationsAttribute.
    • Method Detail

      • annotationAccept

        public void annotationAccept​(Clazz clazz,
                                     int index,
                                     AnnotationVisitor annotationVisitor)
        Applies the given visitor to the specified class annotation.
      • annotationsAccept

        public void annotationsAccept​(Clazz clazz,
                                      AnnotationVisitor annotationVisitor)
        Applies the given visitor to all class annotations.
      • annotationAccept

        public void annotationAccept​(Clazz clazz,
                                     Field field,
                                     int index,
                                     AnnotationVisitor annotationVisitor)
        Applies the given visitor to the specified field annotation.
      • annotationsAccept

        public void annotationsAccept​(Clazz clazz,
                                      Field field,
                                      AnnotationVisitor annotationVisitor)
        Applies the given visitor to all field annotations.
      • annotationAccept

        public void annotationAccept​(Clazz clazz,
                                     Method method,
                                     int index,
                                     AnnotationVisitor annotationVisitor)
        Applies the given visitor to the specified method annotation.
      • annotationsAccept

        public void annotationsAccept​(Clazz clazz,
                                      Method method,
                                      AnnotationVisitor annotationVisitor)
        Applies the given visitor to all method annotations.
      • annotationsAccept

        public void annotationsAccept​(Clazz clazz,
                                      Method method,
                                      CodeAttribute codeAttribute,
                                      AnnotationVisitor annotationVisitor)
        Applies the given visitor to all code attribute annotations.