| shouldGenerateNoError(buggy);
}
public void testAmbiguityResolution_NestedClasses() {
{
MockJavaResource buggy = JavaResourceBase.createMockJavaResource("some.A",
"package some;",
"class A {",
" static Object f;",
" static class B {",
" static Object f;",
" native void jsniMethod() /*-{",
" @CC::f;",
" }-*/;",
" static class CC {",
" static Object f;",
" }",
" }",
" static class B1 {",
" static Object f;",
" static class CC {",
" }",
" }",
"}");
shouldGenerateNoWarning(buggy);
}
{
MockJavaResource buggy = JavaResourceBase.createMockJavaResource("some.A",
"package some;",
"class A {",
" static Object f;",
" static class B {",
" static Object f;",
|