void () { doTest("class A {" + " public void foo(String s) {}" + " class D{" + " private void foo(String s) {}" + " }" + " class C extends D {" + " class Box {" + " void bar() {" + " /*'A.this' is unnecessary in this context*/A.this/**/.foo(\"\");" + " }" + " }" + " }" + "}"); }