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 ASM
FieldVisitor
.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
A field attribute appender that combines several method attribute appenders to be represented as a single field attribute appender.static class
Appends an annotation to a field.static interface
A factory that creates field attribute appenders for a given type.static enum
An attribute appender that writes all annotations that are declared on a field.static enum
A field attribute appender that does not append any attributes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given field visitor.
-
Method Details
-
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.
-