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 class
A record component attribute appender that combines several method attribute appenders to be represented as a single record component attribute appender.static class
Appends an annotation to a record component.static interface
A factory that creates record component attribute appenders for a given type.static enum
An attribute appender that writes all annotations that are declared on a record component.static enum
A record component attribute appender that does not append any attributes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(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.
-