Class RecordComponentRegistry.Default.Entry

java.lang.Object
net.bytebuddy.dynamic.scaffold.RecordComponentRegistry.Default.Entry
All Implemented Interfaces:
LatentMatcher<RecordComponentDescription>
Enclosing class:
RecordComponentRegistry.Default

@Enhance protected static class RecordComponentRegistry.Default.Entry extends Object implements LatentMatcher<RecordComponentDescription>
An entry of the default record component registry.
  • Field Details

  • Constructor Details

  • Method Details

    • getRecordComponentAttributeAppender

      protected RecordComponentAttributeAppender.Factory getRecordComponentAttributeAppender()
      Returns the record component attribute appender factory to apply on any matched record component.
      Returns:
      The record component attribute appender factory to apply on any matched record component.
    • getTransformer

      protected Transformer<RecordComponentDescription> getTransformer()
      Returns the record component transformer to apply to any matched record component.
      Returns:
      The record component transformer to apply to any matched record component.
    • resolve

      public ElementMatcher<? super RecordComponentDescription> resolve(TypeDescription typeDescription)
      Resolves the element matcher this instance represents for the supplied type description.
      Specified by:
      resolve in interface LatentMatcher<RecordComponentDescription>
      Parameters:
      typeDescription - The type description for which the represented matcher should be resolved.
      Returns:
      An ElementMatcher that represents this matcher's resolved form.