CARVIEW |
Select Language
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Thu, 09 Oct 2025 13:57:04 GMT
access-control-allow-origin: *
etag: W/"68e7bf30-1a41"
expires: Tue, 14 Oct 2025 11:44:08 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 6AC6:3E15A8:82243:98A88:68EE3530
accept-ranges: bytes
age: 0
date: Tue, 14 Oct 2025 11:34:08 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210077-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760441648.313628,VS0,VE302
vary: Accept-Encoding
x-fastly-request-id: f3ce353c7dc94a0c4a68a7932ee1fed987b82f06
content-length: 2012
CheckReturnValue (Error Prone parent POM 1.0-HEAD-SNAPSHOT API)
Annotation Interface CheckReturnValue
@Documented
@Target({METHOD,CONSTRUCTOR,TYPE,PACKAGE})
@Retention(RUNTIME)
public @interface CheckReturnValue
Indicates that the return value of the annotated method must be used. An error is triggered when
one of these methods is called but the result is not used.
@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.