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 classA field attribute appender that combines several method attribute appenders to be represented as a single field attribute appender.static classAppends an annotation to a field.static interfaceA factory that creates field attribute appenders for a given type.static enumAn attribute appender that writes all annotations that are declared on a field.static enumA field attribute appender that does not append any attributes. -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(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.
-