Bug 75672 Incorrect quick fix proposals [quick fix]
If I invoke CTRL+1 on a method's name to select "Rename in File", I get quick fixes to create the method in each of the superclasses. The method is private, so it doesn't make sense to create the method in a superclass. Also, I would rank "Rename in File" as higher priority even when the other option applies. Currently it is the last item on the list.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
return false;
		}
		ExpressionStatement assignParent= (ExpressionStatement) assignment.getParent();
		if (resultingCollections == null) {
			return true;
		}
		AST ast= statement.getAST();
		ASTRewrite rewrite= ASTRewrite.create(ast);
		String label= CorrectionMessages.QuickAssistProcessor_joindeclaration_description;
		Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_LOCAL);
		LinkedCorrectionProposal proposal= new LinkedCorrectionProposal(label, context.getCompilationUnit(), rewrite, 1, image);
		
		Expression placeholder= (Expression) rewrite.createMoveTarget(assignment.getRightHandSide());
		rewrite.set(fragment, VariableDeclarationFragment.INITIALIZER_PROPERTY, placeholder, null);
		
		if (onFirstAccess) {
			
			rewrite.replace(assignParent, rewrite.createMoveTarget(statement), null);
		} else {
			
			if (ASTNodes.isControlStatementBody(assignParent.getLocationInParent())) {
				Block block= ast.newBlock();
				rewrite.replace(assignParent, block, null);
			} else {
				rewrite.remove(assignParent, null);
			}
		}
		proposal.setEndPosition(rewrite.track(fragment.getName()));
		resultingCollections.add(proposal);
		return true;