Annotation Type CheckReturnValue


@Documented @Target({METHOD,CONSTRUCTOR}) @Retention(CLASS) @Deprecated public @interface CheckReturnValue
Deprecated.
- use CheckReturnValue instead.
This annotation is used to denote a method whose return value should always be checked when invoking the method. The checker treats this annotation as inherited by overriding methods.
  • Element Details

    • priority

      Deprecated.
      Default:
      MEDIUM
    • confidence

      Confidence confidence
      Deprecated.
      Default:
      MEDIUM
    • explanation

      String explanation
      Deprecated.
      A textual explanation of why the return value should be checked
      Default:
      ""