public static interface TypeWriter.RecordComponentPool.Record
TypeWriter.RecordComponentPool| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeWriter.RecordComponentPool.Record.ForExplicitRecordComponent
A record for a rich record component with attributes.
|
static class |
TypeWriter.RecordComponentPool.Record.ForImplicitRecordComponent
A record for a simple field without a default value where all of the record component's declared annotations are appended.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClassVisitor classVisitor,
AnnotationValueFilter.Factory annotationValueFilterFactory)
Writes this record to a given class visitor.
|
void |
apply(RecordComponentVisitor recordComponentVisitor,
AnnotationValueFilter.Factory annotationValueFilterFactory)
Applies this record to a record component visitor.
|
RecordComponentDescription |
getRecordComponent()
Returns the record component that this record represents.
|
RecordComponentAttributeAppender |
getRecordComponentAppender()
Returns the record component attribute appender for a given record component.
|
boolean |
isImplicit()
Determines if this record is implicit, i.e is not defined by a
TypeWriter.RecordComponentPool. |
boolean isImplicit()
TypeWriter.RecordComponentPool.true if this record is implicit.RecordComponentDescription getRecordComponent()
RecordComponentAttributeAppender getRecordComponentAppender()
void apply(ClassVisitor classVisitor, AnnotationValueFilter.Factory annotationValueFilterFactory)
classVisitor - The class visitor to which this record is to be written to.annotationValueFilterFactory - The annotation value filter factory to apply when writing annotations.void apply(RecordComponentVisitor recordComponentVisitor, AnnotationValueFilter.Factory annotationValueFilterFactory)
recordComponentVisitor - The record component visitor onto which this record is to be applied.annotationValueFilterFactory - The annotation value filter factory to use for annotations.Copyright © 2014–2025. All rights reserved.