Annotation Interface CheckReturnValue
@CheckReturnValue
may be applied to a class or package to indicate that all methods in
that class (including indirectly; that is, methods of inner classes within the annotated class)
or package must have their return values used. For convenience, we provide an annotation, CanIgnoreReturnValue
, to exempt specific methods or classes from this behavior.