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
return null;
		
		List annotationTuples= new ArrayList();
		IProblem[] problems= compilationUnit.getProblems();
		for (int i= 0; i < problems.length; i++) {
			IProblemLocation problem= getProblemLocation(problems[i]);
			
			if (Java50Fix.isMissingDeprecated(problem) || Java50Fix.isMissingOverride(problem)) {				
				
				ASTNode selectedNode= problem.getCoveringNode(compilationUnit);
				if (selectedNode != null) { 
				
					ASTNode declaringNode= Java50Fix.getDeclaringNode(selectedNode);
					if (declaringNode instanceof BodyDeclaration) {
					
						List annotations= new ArrayList();
						
						Java50Fix.addAnnotations(problem, fAddOverrideAnnotation, fAddDepricatedAnnotation, annotations);
						
						if (!annotations.isEmpty()) {
							BodyDeclaration declaration= (BodyDeclaration) declaringNode;
							AnnotationTuple tuple= new AnnotationTuple(declaration, (String[])annotations.toArray(new String[annotations.size()]));
							annotationTuples.add(tuple);
						}
						
					}
				}
			}
		}
		if (annotationTuples.isEmpty())