Class MemberAttributeExtension.ForField.FieldAttributeVisitor

java.lang.Object
org.objectweb.asm.FieldVisitor
net.bytebuddy.asm.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 Details

    • 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 Details

    • 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 Details

    • visitEnd

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