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
      When when  
    • Element Detail

      • when

        When when
        Default:
        javax.annotation.meta.When.ALWAYS