Class TypeAttributeAppender.Compound

    • Field Detail

      • typeAttributeAppenders

        private final java.util.List<TypeAttributeAppender> typeAttributeAppenders
        The type attribute appenders this compound appender represents in their application order.
    • Constructor Detail

      • Compound

        public Compound​(TypeAttributeAppender... typeAttributeAppender)
        Creates a new compound attribute appender.
        Parameters:
        typeAttributeAppender - The type attribute appenders to concatenate in the order of their application.
      • Compound

        public Compound​(java.util.List<? extends TypeAttributeAppender> typeAttributeAppenders)
        Creates a new compound attribute appender.
        Parameters:
        typeAttributeAppenders - The type attribute appenders to concatenate in the order of their application.
    • Method Detail

      • apply

        public void apply​(org.objectweb.asm.ClassVisitor classVisitor,
                          TypeDescription instrumentedType,
                          AnnotationValueFilter annotationValueFilter)
        Applies this type attribute appender.
        Specified by:
        apply in interface TypeAttributeAppender
        Parameters:
        classVisitor - The class visitor to which the annotations of this visitor should be written to.
        instrumentedType - A description of the instrumented type that is target of the ongoing instrumentation.
        annotationValueFilter - The annotation value filter to apply when writing annotations.