public static enum RecordComponentAttributeAppender.NoOp extends Enum<RecordComponentAttributeAppender.NoOp> implements RecordComponentAttributeAppender, RecordComponentAttributeAppender.Factory
RecordComponentAttributeAppender.Compound, RecordComponentAttributeAppender.Explicit, RecordComponentAttributeAppender.Factory, RecordComponentAttributeAppender.ForInstrumentedRecordComponent, RecordComponentAttributeAppender.NoOp
RecordComponentAttributeAppender.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.NoOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordComponentAttributeAppender.NoOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordComponentAttributeAppender.NoOp INSTANCE
public static RecordComponentAttributeAppender.NoOp[] values()
for (RecordComponentAttributeAppender.NoOp c : RecordComponentAttributeAppender.NoOp.values()) System.out.println(c);
public static RecordComponentAttributeAppender.NoOp 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 RecordComponentAttributeAppender make(TypeDescription typeDescription)
make
in interface RecordComponentAttributeAppender.Factory
typeDescription
- The type for which a record component attribute appender is to be applied for.public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)
apply
in interface RecordComponentAttributeAppender
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.Copyright © 2014–2023. All rights reserved.