Interface FieldAttributeAppender
-
- All Known Implementing Classes:
FieldAttributeAppender.Compound
,FieldAttributeAppender.Explicit
,FieldAttributeAppender.ForInstrumentedField
,FieldAttributeAppender.NoOp
public interface FieldAttributeAppender
An appender that writes attributes or annotations to a given ASMFieldVisitor
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FieldAttributeAppender.Compound
A field attribute appender that combines several method attribute appenders to be represented as a single field attribute appender.static class
FieldAttributeAppender.Explicit
Appends an annotation to a field.static interface
FieldAttributeAppender.Factory
A factory that creates field attribute appenders for a given type.static class
FieldAttributeAppender.ForInstrumentedField
An attribute appender that writes all annotations that are declared on a field.static class
FieldAttributeAppender.NoOp
A field attribute appender that does not append any attributes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given field visitor.
-
-
-
Method Detail
-
apply
void apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given field visitor.- Parameters:
fieldVisitor
- The field visitor to which the attributes that are represented by this attribute appender are written to.fieldDescription
- The description of the field to which the field visitor belongs to.annotationValueFilter
- The annotation value filter to apply when writing annotations.
-
-