Annotation Type Comments.Container

Enclosing class:
Comments

@Retention(RUNTIME) @Target({METHOD,TYPE}) public static @interface Comments.Container
The repeatable annotations container for adding multiple comments.

Users do not need this directly and relying on the repeatability of Comments is far more ergonomic.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NonNull Comments @NonNull []
    The values in this container.
  • Element Details

    • value

      @NonNull Comments @NonNull [] value
      The values in this container. You shouldn't need to use this at all because Comments is a repeatable annotation.
      Returns:
      the comments contained within this container