javax.annotation
public @Interface CheckReturnValue
extends Annotation
- Annotations
- @Documented
- @Target:METHOD, CONSTRUCTOR, TYPE, PACKAGE
- @Retention:RUNTIME
- Imports
- java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, javax.annotation.meta.When
This annotation is used to denote a method whose return value should always
be checked after invoking the method.