Bug 115321 [clean up] Qualify with 'this' does not generate a 'this' if more then 350 warnings in a CU
Version: 3.2.0 Build id: I20051102-1600 In large CUs it is possible that there are more then 350 'unqualified field accesses' but the clean up does only handle the first 350 and ignores the rest. The 'qualify with this' clean up should not try to fix the warnings but use an ast visitor to find the unqualified field accesses.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java
buf.append("    public class E2Inner {\n");
		buf.append("        public void bar() {\n");
		buf.append("            int j = i;\n");
		buf.append("            String k = s + t;\n");
		buf.append("        }\n");
		buf.append("    }\n");
		buf.append("    \n");
		buf.append("    public void fooBar() {\n");
		buf.append("        String k = s;\n");
		buf.append("        int j = i;\n");
		buf.append("    }\n");
		buf.append("}\n");
		ICompilationUnit cu2= pack1.createCompilationUnit("E2.java", buf.toString(), false, null);
		
		IMultiFix multiFix= new CodeStyleMultiFix(true, false);
		
		setOptions(multiFix);
		
		CompilationUnit[] units= compile(new ICompilationUnit[] {cu1, cu2});
		assertNumberOfProblems(units[0], 7);
		assertNumberOfProblems(units[1], 5);
		
		buf= new StringBuffer();
		buf.append("package test1;\n");
		buf.append("public class E1 {\n");
		buf.append("    String s = \"\"; //$NON-NLS-1$\n");
		buf.append("    String t = \"\";  //$NON-NLS-1$\n");
		buf.append("    \n");
		buf.append("    public void foo() {\n");
		buf.append("        this.s = \"\"; //$NON-NLS-1$\n");