| import javax.annotation.*; | |
| import java.lang.annotation.Documented; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import javax.annotation.meta.TypeQualifierNickname; | |
| import javax.annotation.meta.When; | |
| @Documented | |
| @TypeQualifierNickname | |
| @Nonnull(when = When.ALWAYS) | |
| @Retention(RetentionPolicy.RUNTIME) | |
| public @interface MyNonnull { | |
| } |