Bug 117295 [clean up][infrastructure] Light clean up
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/Java50MultiFix.java
}
	public Java50MultiFix(IDialogSettings settings) {
		this(settings.getBoolean(ADD_OVERRIDE_ANNOTATION_SETTINGS_ID), settings.getBoolean(ADD_DEPRICATED_ANNOTATION_SETTINGS_ID));
	}
	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)
			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();