void () { myFixture.addClass("package org.eclipse.jdt.annotation;public @interface NonNullByDefault {}"); myFixture.addClass("package org.eclipse.jdt.annotation;import java.lang.annotation.*;" + "@Target({ElementType.TYPE_USE}) public @interface Nullable {}"); doTest(); }