@Documented @Target(value={METHOD,CONSTRUCTOR,TYPE,PACKAGE}) @Retention(value=RUNTIME) public @interface CheckReturnValue
@CheckReturnValue
may be applied to a class or package to indicate that all methods in
that class or package must have their return values checked. For convenience, we provide an
annotation, CanIgnoreReturnValue
, to exempt specific methods or classes from this
behavior.
Copyright © 2019. All rights reserved.