Interface FieldAttributeAppender
-
- All Known Implementing Classes:
FieldAttributeAppender.Compound,FieldAttributeAppender.Explicit,FieldAttributeAppender.ForInstrumentedField,FieldAttributeAppender.NoOp
public interface FieldAttributeAppenderAn appender that writes attributes or annotations to a given ASMFieldVisitor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFieldAttributeAppender.CompoundA field attribute appender that combines several method attribute appenders to be represented as a single field attribute appender.static classFieldAttributeAppender.ExplicitAppends an annotation to a field.static interfaceFieldAttributeAppender.FactoryA factory that creates field attribute appenders for a given type.static classFieldAttributeAppender.ForInstrumentedFieldAn attribute appender that writes all annotations that are declared on a field.static classFieldAttributeAppender.NoOpA field attribute appender that does not append any attributes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(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.
-
-