Package net.bytebuddy.asm
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 Summary
Fields Modifier and Type Field Description private AnnotationValueFilter
annotationValueFilter
The annotation value filter to apply.private FieldAttributeAppender
fieldAttributeAppender
The field attribute appender to apply.private FieldDescription
fieldDescription
The field to add annotations to.
-
Constructor Summary
Constructors Modifier Constructor Description private
FieldAttributeVisitor(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, FieldAttributeAppender fieldAttributeAppender, AnnotationValueFilter annotationValueFilter)
Creates a new field attribute visitor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitEnd()
-
-
-
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.
-
-