@HashCodeAndEqualsPlugin.Enhance public static class FieldAttributeAppender.Compound extends java.lang.Object implements FieldAttributeAppender
FieldAttributeAppender.Compound, FieldAttributeAppender.Explicit, FieldAttributeAppender.Factory, FieldAttributeAppender.ForInstrumentedField, FieldAttributeAppender.NoOp
Modifier and Type | Field and Description |
---|---|
private java.util.List<FieldAttributeAppender> |
fieldAttributeAppenders
The field attribute appenders this appender represents in their application order.
|
Constructor and Description |
---|
Compound(FieldAttributeAppender... fieldAttributeAppender)
Creates a new compound field attribute appender.
|
Compound(java.util.List<? extends FieldAttributeAppender> fieldAttributeAppenders)
Creates a new compound field attribute appender.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(org.objectweb.asm.FieldVisitor fieldVisitor,
FieldDescription fieldDescription,
AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given field visitor.
|
private final java.util.List<FieldAttributeAppender> fieldAttributeAppenders
public Compound(FieldAttributeAppender... fieldAttributeAppender)
fieldAttributeAppender
- The field attribute appenders that are to be combined by this compound appender
in the order of their application.public Compound(java.util.List<? extends FieldAttributeAppender> fieldAttributeAppenders)
fieldAttributeAppenders
- The field attribute appenders that are to be combined by this compound appender
in the order of their application.public void apply(org.objectweb.asm.FieldVisitor fieldVisitor, FieldDescription fieldDescription, AnnotationValueFilter annotationValueFilter)
apply
in interface FieldAttributeAppender
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.