Bug 94651 conver to new for loop quick assist: variable name proposals should include inserted name and standard proposals
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConvertForLoopProposal.java
String[] shortProposals= StubUtility.getLocalNameSuggestions(javaProject, ELEMENT_KEY_REFERENCE.substring(0, 1),
			dimensions, getUsedVariableNames());
		for (int i= 0; i < proposals.length; i++) {
			String proposal= shortProposals[i];
			addLinkedPositionProposal(ConvertForLoopProposal.ELEMENT_KEY_REFERENCE, proposal, null);
		}
		return proposals;
	}
	private String[] getUsedVariableNames() {
		CompilationUnit root= (CompilationUnit)fOldForStatement.getRoot();
		IBinding[] varsBefore= (new ScopeAnalyzer(root)).getDeclarationsInScope(fOldForStatement.getStartPosition(),
			ScopeAnalyzer.VARIABLES);
		IBinding[] varsAfter= (new ScopeAnalyzer(root)).getDeclarationsAfter(fOldForStatement.getStartPosition()
			+ fOldForStatement.getLength(), ScopeAnalyzer.VARIABLES);
		String[] names= new String[varsBefore.length + varsAfter.length];
		for (int i= 0; i < varsBefore.length; i++) {
			names[i]= varsBefore[i].getName();
		}
		for (int i= 0; i < varsAfter.length; i++) {
			names[i + varsBefore.length]= varsAfter[i].getName();
		}
		return names;
	}
	private void doFindAndReplaceInBody(ASTRewrite rewrite) {
		LocalOccurencesFinder finder= new LocalOccurencesFinder(fCollectionName, fOldCollectionBinding,
			fOldCollectionTypeBinding, fOldForStatement.getBody());
		finder.perform();
		List occurences= finder.getOccurences();
		
		if (occurences.size() == 1) {