buf= new StringBuffer();
StringBuffer buf= new StringBuffer();
	public void testAmbiguousTypeInSuperClass() throws Exception {		IPackageFragment pack3= fSourceFolder.createPackageFragment("test3", false, null);		StringBuffer buf= new StringBuffer();		buf.append("package test3;\n");		buf.append("public class A {\n");		buf.append("}\n");		pack3.createCompilationUnit("A.java", buf.toString(), false, null);		buf= new StringBuffer();		buf.append("package test3;\n");		buf.append("public class B {\n");		buf.append("}\n");		pack3.createCompilationUnit("B.java", buf.toString(), false, null);				IPackageFragment pack2= fSourceFolder.createPackageFragment("test2", false, null);		buf= new StringBuffer();		buf.append("package test2;\n");		buf.append("public class A {\n");		buf.append("}\n");		pack2.createCompilationUnit("A.java", buf.toString(), false, null);				buf= new StringBuffer();		buf.append("package test2;\n");		buf.append("public class C {\n");		buf.append("}\n");		pack2.createCompilationUnit("C.java", buf.toString(), false, null);				IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);				buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("import test2.*;\n");		buf.append("import test3.*;\n");				buf.append("public class E extends A {\n");		buf.append("    B b;\n");		buf.append("    C c;\n");				buf.append("}\n");		ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);				CompilationUnit astRoot= AST.parseCompilationUnit(cu, true);		IProblem[] problems= astRoot.getProblems();		assertNumberOf("problems", problems.length, 1);		CorrectionContext context= getCorrectionContext(cu, problems[0]);		assertCorrectContext(context);		ArrayList proposals= new ArrayList();		JavaCorrectionProcessor.collectCorrections(context,  proposals);		assertNumberOf("proposals", proposals.size(), 2);		assertCorrectLabels(proposals);				CUCorrectionProposal proposal= (CUCorrectionProposal) proposals.get(0);		String preview1= proposal.getCompilationUnitChange().getPreviewContent();		buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("import test2.*;\n");		buf.append("import test2.A;\n");		buf.append("import test3.*;\n");		buf.append("public class E extends A {\n");		buf.append("    B b;\n");		buf.append("    C c;\n");				buf.append("}\n");		String expected1= buf.toString();				proposal= (CUCorrectionProposal) proposals.get(1);		String preview2= proposal.getCompilationUnitChange().getPreviewContent();		buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("import test2.*;\n");		buf.append("import test3.*;\n");				buf.append("import test3.A;\n");		buf.append("public class E extends A {\n");		buf.append("    B b;\n");		buf.append("    C c;\n");				buf.append("}\n");		String expected2= buf.toString();				assertEqualStringsIgnoreOrder(new String[] { preview1, preview2 }, new String[] { expected1, expected2 });	}