1 package javax.annotation; 2 3 import java.lang.annotation.Documented; 4 import java.lang.annotation.Retention; 5 import java.lang.annotation.RetentionPolicy; 6 7 import javax.annotation.meta.TypeQualifierNickname; 8 import javax.annotation.meta.When; 9 10 @Documented 11 @TypeQualifierNickname 12 @Nonnull(when = When.MAYBE) 13 @Retention(RetentionPolicy.RUNTIME) 14 public @interface CheckForNull { 15 16 } 17