Interface JAnnotationWriter<A extends Annotation>

All Known Implementing Classes:
TypedAnnotationWriter

public interface JAnnotationWriter<A extends Annotation>
Base interface for typed annotation writer.

Annotation compiler can generate a strongly typed annotation writer to assist applications to write uses of annotations. Such typed annotation writer interfaces all derive from this common interface.

The type parameter 'A' represents the

  • Method Summary

    Modifier and Type
    Method
    Description
    The type of the annotation that this writer is writing.
    Gets the underlying annotation use object to which we are writing.
  • Method Details

    • getAnnotationUse

      JAnnotationUse getAnnotationUse()
      Gets the underlying annotation use object to which we are writing.
    • getAnnotationType

      Class<A> getAnnotationType()
      The type of the annotation that this writer is writing.