Annotation Interface IncompatibleReturnType


@Documented @ExperimentalApi @Target(METHOD) @Retention(SOURCE) public @interface IncompatibleReturnType
Indicates that a method's return type has been changed in a way that is not binary-compatible (and possibly also not source-compatible).

This annotation should only be used when only the return type has changed, but the method signature has remained unchanged.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
     
  • Element Details

    • since

      String since
      Returns:
      the JIRA version when the incompatible change was made
    • was

      String was
      Returns:
      the name of the previous return type