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/Java50CleanUp.java
private boolean fAddOverrideAnnotation;
	private boolean fAddDepricatedAnnotation;
	public Java50CleanUp(boolean addOverrideAnnotation, boolean addDepricatedAnnotation) {
		init(	addOverrideAnnotation,
				addDepricatedAnnotation);
	}
	public Java50CleanUp(IDialogSettings settings) {
		if (settings.get(ADD_OVERRIDE_ANNOTATION_SETTINGS_ID) == null) {
			settings.put(ADD_OVERRIDE_ANNOTATION_SETTINGS_ID, true);
		}
		if (settings.get(ADD_DEPRICATED_ANNOTATION_SETTINGS_ID) == null) {
			settings.put(ADD_DEPRICATED_ANNOTATION_SETTINGS_ID, true);
		}
		init(	settings.getBoolean(ADD_OVERRIDE_ANNOTATION_SETTINGS_ID), 
				settings.getBoolean(ADD_DEPRICATED_ANNOTATION_SETTINGS_ID));
	}
	private void init(boolean addOverrideAnnotation, boolean addDepricatedAnnotation) {
		fAddOverrideAnnotation= addOverrideAnnotation;
		fAddDepricatedAnnotation= addDepricatedAnnotation;
	}
	public IFix createFix(CompilationUnit compilationUnit) throws CoreException {
		if (compilationUnit == null)
			return null;
		
		ICompilationUnit cu= (ICompilationUnit)compilationUnit.getJavaElement();
		if (!JavaModelUtil.is50OrHigher(cu.getJavaProject()))
			return null;
		
		if (!fAddOverrideAnnotation && !fAddDepricatedAnnotation)