Class RepeatedAnnotationPlugin.RepeatedAnnotationAppender

java.lang.Object
net.bytebuddy.build.RepeatedAnnotationPlugin.RepeatedAnnotationAppender
All Implemented Interfaces:
TypeAttributeAppender
Enclosing class:
RepeatedAnnotationPlugin

@Enhance protected static class RepeatedAnnotationPlugin.RepeatedAnnotationAppender extends Object implements TypeAttributeAppender
A type attribute appender that adds a repeated annotation for a target type.
  • Field Details

  • Constructor Details

    • RepeatedAnnotationAppender

      protected RepeatedAnnotationAppender(TypeDescription target)
      Creates a new appender.
      Parameters:
      target - The repeated type.
  • Method Details

    • 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.