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
private static final String CHANGE_NON_STATIC_ACCESS_TO_STATIC_SETTINGS_ID= "ChangeNonStaticAccessToStatic"; 
	private static final String ADD_THIS_QUALIFIER_SETTINGS_ID= "AddThisQualifier"; 
	
	private boolean fAddThisQualifier;
	private boolean fChangeNonStaticAccessToStatic;
	
	public CodeStyleMultiFix(boolean addThisQualifier, boolean changeNonStaticAccessToStatic) {
		fAddThisQualifier= addThisQualifier;
		fChangeNonStaticAccessToStatic= changeNonStaticAccessToStatic;
	}
	public CodeStyleMultiFix(IDialogSettings settings) {
		this(settings.getBoolean(ADD_THIS_QUALIFIER_SETTINGS_ID), settings.getBoolean(CHANGE_NON_STATIC_ACCESS_TO_STATIC_SETTINGS_ID));
	}
	public IFix createFix(CompilationUnit compilationUnit) throws CoreException {
		if (compilationUnit == null)
			return null;
		IProblem[] problems= compilationUnit.getProblems();
		
		List nonStaticTuples= new ArrayList(); 
		List bindingTuples= new ArrayList();
		
		for (int i= 0; i < problems.length; i++) {
			IProblemLocation problem= getProblemLocation(problems[i]);
			TupleForNonStaticAccess tupleDirect= null;
			if (fChangeNonStaticAccessToStatic && CodeStyleFix.isNonStaticAccess(problem)) {
				tupleDirect= CodeStyleFix.getTupleForNonStaticAccess(compilationUnit, problem);
			}
			if (tupleDirect != null) {
				nonStaticTuples.add(tupleDirect);