Annotation Type CanIgnoreReturnValue
-
@Target({METHOD,TYPE}) @Retention(CLASS) public @interface CanIgnoreReturnValue
Indicates that the return value of the annotated method can be safely ignored.This is the opposite of
javax.annotation.CheckReturnValue. It can be used inside classes or packages annotated with@CheckReturnValueto exempt specific methods from the default.