Interface AnnotationAppender

  • All Known Implementing Classes:
    AnnotationAppender.Default

    public interface AnnotationAppender
    Annotation appenders are capable of writing annotations to a specified target.
    • Field Detail

      • NO_NAME

        static final java.lang.String NO_NAME
        A constant for informing ASM over ignoring a given name.
    • Method Detail

      • append

        AnnotationAppender append​(AnnotationDescription annotationDescription,
                                  AnnotationValueFilter annotationValueFilter)
        Writes the given annotation to the target that this appender represents.
        Parameters:
        annotationDescription - The annotation to be written.
        annotationValueFilter - The annotation value filter to use.
        Returns:
        Usually this or any other annotation appender capable of writing another annotation to the specified target.
      • append

        AnnotationAppender append​(AnnotationDescription annotationDescription,
                                  AnnotationValueFilter annotationValueFilter,
                                  int typeReference,
                                  java.lang.String typePath)
        Writes the given type annotation to the target that this appender represents.
        Parameters:
        annotationDescription - The annotation to be written.
        annotationValueFilter - The annotation value filter to use.
        typeReference - The type variable's type reference.
        typePath - The type variable's type path.
        Returns:
        Usually this or any other annotation appender capable of writing another annotation to the specified target.