@HashCodeAndEqualsPlugin.Enhance public static class RecordComponentAttributeAppender.Compound extends Object implements RecordComponentAttributeAppender
RecordComponentAttributeAppender.Compound, RecordComponentAttributeAppender.Explicit, RecordComponentAttributeAppender.Factory, RecordComponentAttributeAppender.ForInstrumentedRecordComponent, RecordComponentAttributeAppender.NoOp
Constructor and Description |
---|
Compound(List<? extends RecordComponentAttributeAppender> recordComponentAttributeAppenders)
Creates a new compound record component attribute appender.
|
Compound(RecordComponentAttributeAppender... recordComponentAttributeAppender)
Creates a new compound record component attribute appender.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(RecordComponentVisitor recordComponentVisitor,
RecordComponentDescription recordComponentDescription,
AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given record component visitor.
|
public Compound(RecordComponentAttributeAppender... recordComponentAttributeAppender)
recordComponentAttributeAppender
- The record component attribute appenders that are to be combined by this compound appender
in the order of their application.public Compound(List<? extends RecordComponentAttributeAppender> recordComponentAttributeAppenders)
recordComponentAttributeAppenders
- The record component attribute appenders that are to be combined by this compound appender
in the order of their application.public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)
apply
in interface RecordComponentAttributeAppender
recordComponentVisitor
- The record component visitor to which the attributes that are represented by this attribute appender are written to.recordComponentDescription
- The description of the record component to which the record component visitor belongs to.annotationValueFilter
- The annotation value filter to apply when writing annotations.Copyright © 2014–2023. All rights reserved.