Class RecordComponentAttributeAppender.Compound

    • Field Detail

      • recordComponentAttributeAppenders

        private final java.util.List<RecordComponentAttributeAppender> recordComponentAttributeAppenders
        The record component attribute appenders this appender represents in their application order.
    • Constructor Detail

      • Compound

        public Compound​(RecordComponentAttributeAppender... recordComponentAttributeAppender)
        Creates a new compound record component attribute appender.
        Parameters:
        recordComponentAttributeAppender - The record component attribute appenders that are to be combined by this compound appender in the order of their application.
      • Compound

        public Compound​(java.util.List<? extends RecordComponentAttributeAppender> recordComponentAttributeAppenders)
        Creates a new compound record component attribute appender.
        Parameters:
        recordComponentAttributeAppenders - The record component attribute appenders that are to be combined by this compound appender in the order of their application.
    • Method Detail

      • apply

        public void apply​(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor,
                          RecordComponentDescription recordComponentDescription,
                          AnnotationValueFilter annotationValueFilter)
        Applies this attribute appender to a given record component visitor.
        Specified by:
        apply in interface RecordComponentAttributeAppender
        Parameters:
        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.