Interface RecordComponentAttributeAppender
-
- All Known Implementing Classes:
RecordComponentAttributeAppender.Compound,RecordComponentAttributeAppender.Explicit,RecordComponentAttributeAppender.ForInstrumentedRecordComponent,RecordComponentAttributeAppender.NoOp
public interface RecordComponentAttributeAppenderAn appender that writes attributes or annotations to a given ASMRecordComponentVisitor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRecordComponentAttributeAppender.CompoundA record component attribute appender that combines several method attribute appenders to be represented as a single record component attribute appender.static classRecordComponentAttributeAppender.ExplicitAppends an annotation to a record component.static interfaceRecordComponentAttributeAppender.FactoryA factory that creates record component attribute appenders for a given type.static classRecordComponentAttributeAppender.ForInstrumentedRecordComponentAn attribute appender that writes all annotations that are declared on a record component.static classRecordComponentAttributeAppender.NoOpA record component attribute appender that does not append any attributes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(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.
-
-