CompilationUnit astRoot= AST.parseCompilationUnit(cu, true);
CompilationUnit astRoot= AST.parseCompilationUnit(cu, true, null, null);
	public void testNeedToEmulateFieldRead() throws Exception {		Hashtable hashtable= JavaCore.getOptions();		hashtable.put(JavaCore.COMPILER_PB_SYNTHETIC_ACCESS_EMULATION, JavaCore.ERROR);		JavaCore.setOptions(hashtable);						IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    public void x() {\n");		buf.append("        Runnable r= new Runnable() {\n");		buf.append("            public void run() {\n");		buf.append("               int x= fCount;\n");		buf.append("            }\n");		buf.append("        };\n");		buf.append("    }\n");		buf.append("    private int fCount; {\n");		buf.append("    }\n");		buf.append("}\n");		ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);				CompilationUnit astRoot= AST.parseCompilationUnit(cu, true);		ArrayList proposals= collectCorrections(cu, astRoot);		assertNumberOf("proposals", proposals.size(), 1);		assertCorrectLabels(proposals);				CUCorrectionProposal proposal= (CUCorrectionProposal) proposals.get(0);		String preview= proposal.getCompilationUnitChange().getPreviewContent();		buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class E {\n");		buf.append("    public void x() {\n");		buf.append("        Runnable r= new Runnable() {\n");		buf.append("            public void run() {\n");		buf.append("               int x= fCount;\n");		buf.append("            }\n");		buf.append("        };\n");		buf.append("    }\n");		buf.append("    int fCount; {\n");		buf.append("    }\n");		buf.append("}\n");		assertEqualString(preview, buf.toString());	}