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