Class RecordComponentAttributeAppender.Factory.Compound

java.lang.Object
net.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.Compound
All Implemented Interfaces:
RecordComponentAttributeAppender.Factory
Enclosing interface:
RecordComponentAttributeAppender.Factory

@Enhance public static class RecordComponentAttributeAppender.Factory.Compound extends Object implements RecordComponentAttributeAppender.Factory
A record component attribute appender factory that combines several record component attribute appender factories to be represented as a single factory.
  • Field Details

  • Constructor Details

    • Compound

      public Compound(RecordComponentAttributeAppender.Factory... factory)
      Creates a new compound record component attribute appender factory.
      Parameters:
      factory - The factories to represent in the order of their application.
    • Compound

      public Compound(List<? extends RecordComponentAttributeAppender.Factory> factories)
      Creates a new compound record component attribute appender factory.
      Parameters:
      factories - The factories to represent in the order of their application.
  • Method Details

    • make

      public RecordComponentAttributeAppender make(TypeDescription typeDescription)
      Returns a record component attribute appender that is applicable for a given type description.
      Specified by:
      make in interface RecordComponentAttributeAppender.Factory
      Parameters:
      typeDescription - The type for which a record component attribute appender is to be applied for.
      Returns:
      The record component attribute appender which should be applied for the given type.