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