Annotation Type CanIgnoreReturnValue


@Documented
@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 CheckReturnValue. It can be used inside classes or packages annotated with @CheckReturnValue to exempt specific methods from the default.