Annotation Interface DeprecatedApi


Internal annotation marking code as deprecated and to be removed in a future version.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns target version that will remove the annotated API.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns rationale for deprecating the API.
  • Element Details

    • forRemoval

      String forRemoval
      Returns target version that will remove the annotated API.
    • rationale

      String rationale
      Returns rationale for deprecating the API.
      Default:
      ""