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