Class MemberAttributeExtension.ForField.FieldAttributeVisitor

  • Enclosing class:
    MemberAttributeExtension.ForField

    private static class MemberAttributeExtension.ForField.FieldAttributeVisitor
    extends org.objectweb.asm.FieldVisitor
    A field visitor to apply an field attribute appender.
    • Field Detail

      • fieldDescription

        private final FieldDescription fieldDescription
        The field to add annotations to.
      • fieldAttributeAppender

        private final FieldAttributeAppender fieldAttributeAppender
        The field attribute appender to apply.
      • annotationValueFilter

        private final AnnotationValueFilter annotationValueFilter
        The annotation value filter to apply.
    • Constructor Detail

      • FieldAttributeVisitor

        private FieldAttributeVisitor​(org.objectweb.asm.FieldVisitor fieldVisitor,
                                      FieldDescription fieldDescription,
                                      FieldAttributeAppender fieldAttributeAppender,
                                      AnnotationValueFilter annotationValueFilter)
        Creates a new field attribute visitor.
        Parameters:
        fieldVisitor - The field visitor to apply changes to.
        fieldDescription - The field to add annotations to.
        fieldAttributeAppender - The field attribute appender to apply.
        annotationValueFilter - The annotation value filter to apply.
    • Method Detail

      • visitEnd

        public void visitEnd()
        Overrides:
        visitEnd in class org.objectweb.asm.FieldVisitor