WithLocalInnerClass { public String mainMethod1() { class LocalInnerClass { public String staticNestedMethod1() { String s = "foo"; return s; } } String foo = new LocalInnerClass().staticNestedMethod1(); foo += "xxxxxxxx"; return foo; }  String mainMethod1(); void mainMethod2();  }
@Test public void test1() { new WithLocalInnerClass().mainMethod1(); }