Interface RecordComponentAttributeAppender
-
- All Known Implementing Classes:
RecordComponentAttributeAppender.Compound
,RecordComponentAttributeAppender.Explicit
,RecordComponentAttributeAppender.ForInstrumentedRecordComponent
,RecordComponentAttributeAppender.NoOp
public interface RecordComponentAttributeAppender
An appender that writes attributes or annotations to a given ASMRecordComponentVisitor
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RecordComponentAttributeAppender.Compound
A record component attribute appender that combines several method attribute appenders to be represented as a single record component attribute appender.static class
RecordComponentAttributeAppender.Explicit
Appends an annotation to a record component.static interface
RecordComponentAttributeAppender.Factory
A factory that creates record component attribute appenders for a given type.static class
RecordComponentAttributeAppender.ForInstrumentedRecordComponent
An attribute appender that writes all annotations that are declared on a record component.static class
RecordComponentAttributeAppender.NoOp
A record component attribute appender that does not append any attributes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given record component visitor.
-
-
-
Method Detail
-
apply
void apply(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given record component visitor.- Parameters:
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.
-
-