Annotation Type CheckReturnValue


@Documented @Target({METHOD,CONSTRUCTOR,TYPE,PACKAGE}) @Retention(RUNTIME) public @interface CheckReturnValue
This annotation is used to denote a method whose return value should always be checked after invoking the method.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • when

      When when
      Default:
      ALWAYS