@Test public void test1() { new WithLocalInnerClass().mainMethod1(); }
public String mainMethod1() { class LocalInnerClass { public String staticNestedMethod1() { String s = "foo"; return s; } } String foo = new LocalInnerClass().staticNestedMethod1(); foo += "xxxxxxxx"; return foo; }
WithLocalInnerClass { public String mainMethod1() { class LocalInnerClass { public String staticNestedMethod1() { String s = "foo"; return s; } } String foo = new LocalInnerClass().staticNestedMethod1(); foo += "xxxxxxxx"; return foo; } }
WithLocalInnerClass { public String mainMethod1() { class LocalInnerClass { public String staticNestedMethod1() { String s = "foo"; return s; } } String foo = new LocalInnerClass().staticNestedMethod1(); foo += "xxxxxxxx"; return foo; }  }
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(); }
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();  }