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/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeMultiFix.java
if (name != null) {
					IBinding binding= name.resolveBinding();
					if (binding != null) {
						removeNames.add(name);
					}
				}
			}
		}
		
		if (removeImports.size() == 0 && removeNames.size() == 0)
			return null;
		
		ICompilationUnit cu= (ICompilationUnit)compilationUnit.getJavaElement();
		ImportDeclaration[] imports= (ImportDeclaration[])removeImports.toArray(new ImportDeclaration[removeImports.size()]);
		SimpleName[] names= (SimpleName[])removeNames.toArray(new SimpleName[removeNames.size()]);
		return new UnusedCodeFix("", cu, imports, names, (names.length == 0)?null:compilationUnit); 
	}
	public Map getRequiredOptions() {
		Map options= new Hashtable();
		if (fRemoveUnusedImports) {
			options.put(JavaCore.COMPILER_PB_UNUSED_IMPORT, JavaCore.WARNING);
		}
		if (fRemoveUnusedPrivateMethods || fRemoveUnusedPrivateConstructors || fRemoveUnusedPrivateFields || fRemoveUnusedPrivateTypes) {
			options.put(JavaCore.COMPILER_PB_UNUSED_PRIVATE_MEMBER, JavaCore.WARNING);
		}
		if (fRemoveUnusedLocalVariables) {
			options.put(JavaCore.COMPILER_PB_UNUSED_LOCAL, JavaCore.WARNING);
		}
		return options;
	}