CARVIEW |
Select Language
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Thu, 24 Jul 2025 21:59:16 GMT
access-control-allow-origin: *
etag: W/"6882acb4-1a41"
expires: Thu, 24 Jul 2025 23:33:39 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: F1BC:2EEF41:0A03:0E3A:6882C07B
accept-ranges: bytes
age: 0
date: Thu, 24 Jul 2025 23:23:39 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210047-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753399420.726184,VS0,VE210
vary: Accept-Encoding
x-fastly-request-id: 0255a95c5e12a7b7f18c9ef37ba41a7a2fe290d5
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.