Bug 117469 [clean up][infrastructure] Rename MultiFix to CleanUp
Version: 3.2.0 Build id: I20051116-1332 All multi fixes should be renamed to clean up.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java
}
	
	private CompilationUnit[] compile(ICompilationUnit[] units) {
		CompilationUnit[] result= new CompilationUnit[units.length];
		for (int i= 0; i < units.length; i++) {
			result[i]= compile(units[i]);
		}
		return result;
	}
	
	private CompilationUnit compile(ICompilationUnit compilationUnit) {
		CompilationUnit result= JavaPlugin.getDefault().getASTProvider().getAST(compilationUnit, ASTProvider.WAIT_YES, null);
		if (result == null) {
			
			ASTParser parser= ASTParser.newParser(ASTProvider.AST_LEVEL);
			parser.setSource(compilationUnit);
			parser.setResolveBindings(true);
			result= (CompilationUnit) parser.createAST(null);
		}
		return result;
	}
	
	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();