Interface AnnotationAppender

All Known Implementing Classes:
AnnotationAppender.Default

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

    • NO_NAME

      @AlwaysNull static final String NO_NAME
      A constant for informing ASM over ignoring a given name.
  • Method Details

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