void (final JavaCodeInsightTestFixture fixture) { fixture.addClass("package javax.annotation.meta; public @interface TypeQualifierNickname {}"); fixture.addClass("package javax.annotation.meta;" + "public @interface TypeQualifierDefault { java.lang.annotation.ElementType[] value() default {};}"); fixture.addClass("package javax.annotation.meta;" + "public enum When { ALWAYS, UNKNOWN, MAYBE, NEVER }"); fixture.addClass("package javax.annotation;" + "import javax.annotation.meta.*;" + "public @interface Nonnull {" + " When when() default When.ALWAYS;" + "}"); fixture.addClass("package javax.annotation;" + "import javax.annotation.meta.*;" + "@TypeQualifierNickname " + "@Nonnull(when = When.UNKNOWN) " + "public @interface Nullable {}"); }