public static enum RecordComponentAttributeAppender.ForInstrumentedRecordComponent extends Enum<RecordComponentAttributeAppender.ForInstrumentedRecordComponent> implements RecordComponentAttributeAppender, RecordComponentAttributeAppender.Factory
RecordComponentAttributeAppender.Compound, RecordComponentAttributeAppender.Explicit, RecordComponentAttributeAppender.Factory, RecordComponentAttributeAppender.ForInstrumentedRecordComponent, RecordComponentAttributeAppender.NoOpRecordComponentAttributeAppender.Factory.Compound| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(RecordComponentVisitor recordComponentVisitor,
RecordComponentDescription recordComponentDescription,
AnnotationValueFilter annotationValueFilter)
Applies this attribute appender to a given record component visitor.
|
RecordComponentAttributeAppender |
make(TypeDescription typeDescription)
Returns a record component attribute appender that is applicable for a given type description.
|
static RecordComponentAttributeAppender.ForInstrumentedRecordComponent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordComponentAttributeAppender.ForInstrumentedRecordComponent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordComponentAttributeAppender.ForInstrumentedRecordComponent INSTANCE
public static RecordComponentAttributeAppender.ForInstrumentedRecordComponent[] values()
for (RecordComponentAttributeAppender.ForInstrumentedRecordComponent c : RecordComponentAttributeAppender.ForInstrumentedRecordComponent.values()) System.out.println(c);
public static RecordComponentAttributeAppender.ForInstrumentedRecordComponent valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)
apply in interface RecordComponentAttributeAppenderrecordComponentVisitor - 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.public RecordComponentAttributeAppender make(TypeDescription typeDescription)
make in interface RecordComponentAttributeAppender.FactorytypeDescription - The type for which a record component attribute appender is to be applied for.Copyright © 2014–2025. All rights reserved.