Bug 117718 [clean up][infrastructure] Use flags for clean ups instead of boolean parameter list
Version: 3.2.0 Build id: I20051122-1300 Boolean parameter lists in constructors for ICleanUps do not scale.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/UnusedCodeCleanUp.java
IProblemLocation problem= getProblemLocation(problems[i]);
			if (fRemoveUnusedImports && problem.getProblemId() == IProblem.UnusedImport) {
				
				ImportDeclaration node= UnusedCodeFix.getImportDeclaration(problem, compilationUnit);
				
				if (node != null) {
					removeImports.add(node);
				}
			}
			if (
					(fRemoveUnusedPrivateMethods && problem.getProblemId() == IProblem.UnusedPrivateMethod) ||
					(fRemoveUnusedPrivateConstructors && problem.getProblemId() == IProblem.UnusedPrivateConstructor) ||
					(fRemoveUnusedPrivateFields && problem.getProblemId() == IProblem.UnusedPrivateField) ||
					(fRemoveUnusedPrivateTypes && problem.getProblemId() == IProblem.UnusedPrivateType) ||
					(fRemoveUnusedLocalVariables && problem.getProblemId() == IProblem.LocalVariableIsNeverUsed)
					) {
				SimpleName name= UnusedCodeFix.getUnusedName(compilationUnit, problem);
				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();