Package javax.annotation
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
-
Element Details
-
when
When when- Default:
ALWAYS
-