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
}
	
	private void setOptions(IMultiFix fix) {
		setOptions(new IMultiFix[] {fix});
	}
	
	private void setOptions(IMultiFix[] fixes) {
		Hashtable options= JavaCore.getOptions();
		for (Iterator iter= options.keySet().iterator(); iter.hasNext();) {
			String key= (String)iter.next();
			String value= (String)options.get(key);
			if ("error".equals(value) || "warning".equals(value)) {  
				options.put(key, "ignore"); 
			}
		}
		
		for (int i= 0; i < fixes.length; i++) {
			IMultiFix fix= fixes[i];
			Map fixOptions= fix.getRequiredOptions();
			if (fixOptions != null) {
				options.putAll(fixOptions);
			}
		}
		JavaCore.setOptions(options);
	}
	
	public void testAddNLSTag01() throws Exception {
		IPackageFragment pack1= fSourceFolder.createPackageFragment("test1", false, null);
		StringBuffer buf= new StringBuffer();
		buf.append("package test1;\n");