Annotation Interface PublicApi


@Target({PACKAGE,TYPE}) @Retention(SOURCE) public @interface PublicApi
Internal annotation marking code as part of the public API when it is not yet in an "api" package.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional explanation about why it is public, for instance in which other public API it is used.
  • Element Details

    • explanation

      String explanation
      Optional explanation about why it is public, for instance in which other public API it is used.
      Default:
      ""