RecordComponentVisitor.
| Modifier and Type | Class and Description |
|---|---|
| public 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. |
| public static class | RecordComponentAttributeAppender.Explicit
Appends an annotation to a record component. |
| public static interface | RecordComponentAttributeAppender.Factory
A factory that creates record component attribute appenders for a given type. |
| public static enum | RecordComponentAttributeAppender.ForInstrumentedRecordComponent
An attribute appender that writes all annotations that are declared on a record component. |
| public static enum | RecordComponentAttributeAppender.NoOp
A record component attribute appender that does not append any attributes. |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to. recordComponentVisitor, RecordComponentDescription The description of the record component to which the record component visitor belongs to. recordComponentDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Applies this attribute appender to a given record component visitor. |
| apply | back to summary |
|---|---|
| public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter) Applies this attribute appender to a given record component visitor.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | recordComponentAttributeAppenders
The record component attribute appenders this appender represents in their application order. |
| Access | Constructor and Description |
|---|---|
| public | Compound(RecordComponentAttributeAppender...
The record component attribute appenders that are to be combined by this compound appender
in the order of their application. recordComponentAttributeAppender)Creates a new compound record component attribute appender. |
| public | Compound(List<? extends RecordComponentAttributeAppender>
The record component attribute appenders that are to be combined by this compound appender
in the order of their application. recordComponentAttributeAppenders)Creates a new compound record component attribute appender. |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to. recordComponentVisitor, RecordComponentDescription The description of the record component to which the record component visitor belongs to. recordComponentDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Implements net. |
| recordComponentAttributeAppenders | back to summary |
|---|---|
| private final List<RecordComponentAttributeAppender> recordComponentAttributeAppenders The record component attribute appenders this appender represents in their application order. | |
| Compound | back to summary |
|---|---|
| public Compound(RecordComponentAttributeAppender... recordComponentAttributeAppender) Creates a new compound record component attribute appender.
| |
| Compound | back to summary |
|---|---|
| public Compound(List<? extends RecordComponentAttributeAppender> recordComponentAttributeAppenders) Creates a new compound record component attribute appender.
| |
| apply | back to summary |
|---|---|
| public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter) Implements net. Doc from net. Applies this attribute appender to a given record component visitor.
| |
java.lang.annotation.RetentionPolicy annotation.
| Modifier and Type | Field and Description |
|---|---|
| private final List | annotations
The annotations that this appender appends. |
| Access | Constructor and Description |
|---|---|
| public | Explicit(List<? extends AnnotationDescription>
The annotations to be appended to the record component. annotations)Creates a new annotation attribute appender for explicit annotation values. |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to. recordComponentVisitor, RecordComponentDescription The description of the record component to which the record component visitor belongs to. recordComponentDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Implements net. |
| public RecordComponentAttributeAppender | make(TypeDescription
The type for which a record component attribute appender is to be applied for. typeDescription)Implements net. |
| annotations | back to summary |
|---|---|
| private final List<? extends AnnotationDescription> annotations The annotations that this appender appends. | |
| Explicit | back to summary |
|---|---|
| public Explicit(List<? extends AnnotationDescription> annotations) Creates a new annotation attribute appender for explicit annotation values. All values, including default values, are copied.
| |
| apply | back to summary |
|---|---|
| public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter) Implements net. Doc from net. Applies this attribute appender to a given record component visitor.
| |
| make | back to summary |
|---|---|
| public RecordComponentAttributeAppender make(TypeDescription typeDescription) Implements net. Doc from net. Returns a record component attribute appender that is applicable for a given type description.
| |
| Modifier and Type | Class and Description |
|---|---|
| public static class | RecordComponentAttributeAppender.Factory.Compound
A record component attribute appender factory that combines several record component attribute appender factories to be represented as a single factory. |
| Modifier and Type | Method and Description |
|---|---|
| public RecordComponentAttributeAppender | Returns: The record component attribute appender which should be applied for the given type.The type for which a record component attribute appender is to be applied for. typeDescription)Returns a record component attribute appender that is applicable for a given type description. |
| make | back to summary |
|---|---|
| public RecordComponentAttributeAppender make(TypeDescription typeDescription) Returns a record component attribute appender that is applicable for a given type description.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | factories
The factories that this compound factory represents in their application order. |
| Access | Constructor and Description |
|---|---|
| public | Compound(RecordComponentAttributeAppender.
The factories to represent in the order of their application. factoryCreates a new compound record component attribute appender factory. |
| public | Compound(List<? extends RecordComponentAttributeAppender.
The factories to represent in the order of their application. factories)Creates a new compound record component attribute appender factory. |
| Modifier and Type | Method and Description |
|---|---|
| public RecordComponentAttributeAppender | make(TypeDescription
The type for which a record component attribute appender is to be applied for. typeDescription)Implements net. |
| factories | back to summary |
|---|---|
| private final List<RecordComponentAttributeAppender. The factories that this compound factory represents in their application order. | |
| Compound | back to summary |
|---|---|
| public Compound(RecordComponentAttributeAppender. Creates a new compound record component attribute appender factory.
| |
| Compound | back to summary |
|---|---|
| public Compound(List<? extends RecordComponentAttributeAppender. Creates a new compound record component attribute appender factory.
| |
| make | back to summary |
|---|---|
| public RecordComponentAttributeAppender make(TypeDescription typeDescription) Implements net. Doc from net. Returns a record component attribute appender that is applicable for a given type description.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final RecordComponentAttributeAppender. | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to. recordComponentVisitor, RecordComponentDescription The description of the record component to which the record component visitor belongs to. recordComponentDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Implements net. |
| public RecordComponentAttributeAppender | make(TypeDescription
The type for which a record component attribute appender is to be applied for. typeDescription)Implements net. |
| public static RecordComponentAttributeAppender. | |
| public static RecordComponentAttributeAppender. |
| INSTANCE | back to summary |
|---|---|
| public static final RecordComponentAttributeAppender. The singleton instance. | |
| ForInstrumentedRecordComponent | back to summary |
|---|---|
| private ForInstrumentedRecordComponent() | |
| apply | back to summary |
|---|---|
| public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter) Implements net. Doc from net. Applies this attribute appender to a given record component visitor.
| |
| make | back to summary |
|---|---|
| public RecordComponentAttributeAppender make(TypeDescription typeDescription) Implements net. Doc from net. Returns a record component attribute appender that is applicable for a given type description.
| |
| valueOf | back to summary |
|---|---|
| public static RecordComponentAttributeAppender. | |
| values | back to summary |
|---|---|
| public static RecordComponentAttributeAppender. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final RecordComponentAttributeAppender. | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to. recordComponentVisitor, RecordComponentDescription The description of the record component to which the record component visitor belongs to. recordComponentDescription, AnnotationValueFilter The annotation value filter to apply when writing annotations. annotationValueFilter)Implements net. |
| public RecordComponentAttributeAppender | make(TypeDescription
The type for which a record component attribute appender is to be applied for. typeDescription)Implements net. |
| public static RecordComponentAttributeAppender. | |
| public static RecordComponentAttributeAppender. |
| INSTANCE | back to summary |
|---|---|
| public static final RecordComponentAttributeAppender. The singleton instance. | |
| NoOp | back to summary |
|---|---|
| private NoOp() | |
| apply | back to summary |
|---|---|
| public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter) Implements net. Doc from net. Applies this attribute appender to a given record component visitor.
| |
| make | back to summary |
|---|---|
| public RecordComponentAttributeAppender make(TypeDescription typeDescription) Implements net. Doc from net. Returns a record component attribute appender that is applicable for a given type description.
| |
| valueOf | back to summary |
|---|---|
| public static RecordComponentAttributeAppender. | |
| values | back to summary |
|---|---|
| public static RecordComponentAttributeAppender. | |