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/ui/org/eclipse/jdt/internal/ui/fix/CodeStyleMultiFix.java
} else if (fAddThisQualifier && problems[i].getID() == IProblem.UnqualifiedFieldAccess) {
				TupleForUnqualifiedAccess tuple= CodeStyleFix.getBindingTuple(compilationUnit, problem);
				if (tuple != null) {
					bindingTuples.add(tuple);
				}
			}
			
		}
		
		if (bindingTuples.size() == 0 && nonStaticTuples.size() == 0)
			return null;
		
		ICompilationUnit cu= (ICompilationUnit)compilationUnit.getJavaElement();
		TupleForUnqualifiedAccess[] nonQualifiedAccesses= (TupleForUnqualifiedAccess[])bindingTuples.toArray(new TupleForUnqualifiedAccess[bindingTuples.size()]);
		TupleForNonStaticAccess[] nonStaticAccesses= (TupleForNonStaticAccess[])nonStaticTuples.toArray(new TupleForNonStaticAccess[nonStaticTuples.size()]);
		return new CodeStyleFix(FixMessages.CodeStyleFix_AddThisQualifier_description, cu, nonQualifiedAccesses, nonStaticAccesses);
	}
	public Map getRequiredOptions() {
		Map options= new Hashtable();
		if (fAddThisQualifier) {
			options.put(JavaCore.COMPILER_PB_UNQUALIFIED_FIELD_ACCESS, JavaCore.WARNING);
			options.put(JavaCore.COMPILER_PB_MAX_PER_UNIT, "350"); 
		}
		if (fChangeNonStaticAccessToStatic)
			options.put(JavaCore.COMPILER_PB_STATIC_ACCESS_RECEIVER, JavaCore.WARNING);
		return options;
	}
	public Control createConfigurationControl(Composite parent) {
		Composite composite= new Composite(parent, SWT.NONE);
		composite.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, true));