1package javax.annotation;
2
3import java.lang.annotation.Documented;
4import java.lang.annotation.ElementType;
5import java.lang.annotation.Retention;
6import java.lang.annotation.RetentionPolicy;
7import java.lang.annotation.Target;
8
9import javax.annotation.meta.When;
10
11@Documented
12@Target( { ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.TYPE,
13        ElementType.PACKAGE })
14@Retention(RetentionPolicy.RUNTIME)
15public @interface CheckReturnValue {
16    When when() default When.ALWAYS;
17}
18