@HashCodeAndEqualsPlugin.Enhance public static class FieldAttributeAppender.Compound extends Object implements FieldAttributeAppender
FieldAttributeAppender.Compound, FieldAttributeAppender.Explicit, FieldAttributeAppender.Factory, FieldAttributeAppender.ForInstrumentedField, FieldAttributeAppender.NoOp
Constructor and Description |
---|
Compound(FieldAttributeAppender... fieldAttributeAppender)
Creates a new compound field attribute appender.
|
Compound(List<? extends FieldAttributeAppender> fieldAttributeAppenders)
Creates a new compound field attribute appender.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(FieldVisitor fieldVisitor,
FieldDescription fieldDescription,
AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given field visitor.
|
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(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(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.Copyright © 2014–2020. All rights reserved.