void () { doTest("import java.util.*;\n" + "class C {\n" + " final int /*Access can be 'private'*/fd/**/ = 0;\n" + " /*Access can be 'private'*/public/**/ int fd2;\n" + " /*Access can be package-private*/public/**/ int forSubClass;\n" + " @Override\n" + " public int hashCode() {\n" + " return fd + fd2;\n" + // use field " }\n" + " public void fff() {\n" + " class Local {\n" + " int /*Access can be 'private'*/fd/**/;\n" + " void f(){}\n" + // unused, ignore " void /*Access can be 'private'*/fd/**/(){}\n" + " @Override\n" + " public int hashCode() {\n" + " fd();\n" + " return fd;\n" + " }\n" + " class CantbePrivate {}\n" + " }\n" + " }\n" + "}\n" + "class Over extends C {" + " int r = forSubClass;" + " @Override " + " public void fff() {}" + "}"); }