Community
Participate
Working Groups
"Null type mismatch: required \'@NonNull String\' but the provided value is null\n" +
"----------\n");
}
public void testBug_415269() {
Map options = getCompilerOptions();
runConformTestWithLibs(
new String[]{
"Y.java",
"import org.eclipse.jdt.annotation.NonNull;\n"+
"public class Y {\n"+
" public static class C implements X.I {\n"+
" public void method(@NonNull Object arg) {\n"+
" }\n"+
"}\n",
"X.java",
"import org.eclipse.jdt.annotation.NonNullByDefault;\n"+
"@NonNullByDefault\n"+
"public class X {\n"+
" public interface I {\n"+
" public void method(Object arg);\n"+
"}\n"
},
options,
"");