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 ASM
RecordComponentVisitor.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA record component attribute appender that combines several method attribute appenders to be represented as a single record component attribute appender.static classAppends an annotation to a record component.static interfaceA factory that creates record component attribute appenders for a given type.static enumAn attribute appender that writes all annotations that are declared on a record component.static enumA record component attribute appender that does not append any attributes. -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given record component visitor.
-
Method Details
-
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.
-