@HashCodeAndEqualsPlugin.Enhance public static class RecordComponentRegistry.Default extends Object implements RecordComponentRegistry
Modifier and Type | Class and Description |
---|---|
protected static class |
RecordComponentRegistry.Default.Compiled
A compiled default record component registry.
|
protected static class |
RecordComponentRegistry.Default.Entry
An entry of the default record component registry.
|
RecordComponentRegistry.Default
Constructor and Description |
---|
Default()
Creates a new empty default record component registry.
|
Modifier and Type | Method and Description |
---|---|
RecordComponentRegistry.Compiled |
compile(TypeDescription instrumentedType)
Prepares the record component registry for a given instrumented type.
|
RecordComponentRegistry |
prepend(LatentMatcher<? super RecordComponentDescription> matcher,
RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory,
Transformer<RecordComponentDescription> transformer)
Prepends the given record component definition to this record component registry, i.e.
|
public RecordComponentRegistry prepend(LatentMatcher<? super RecordComponentDescription> matcher, RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory, Transformer<RecordComponentDescription> transformer)
prepend
in interface RecordComponentRegistry
matcher
- The matcher to identify any record component that this definition concerns.recordComponentAttributeAppenderFactory
- The record component attribute appender factory to apply on any matched record component.transformer
- The record component transformer to apply to any matched record component.public RecordComponentRegistry.Compiled compile(TypeDescription instrumentedType)
compile
in interface RecordComponentRegistry
instrumentedType
- The instrumented type.Copyright © 2014–2024. All rights reserved.