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/ConvertIterableLoopProposal.java
final Expression expression= node.getExpression();
							if (expression instanceof Name) {
								final IBinding result= ((Name) expression).resolveBinding();
								if (result != null && result.equals(fIterator))
									return replace(node);
							} else if (expression instanceof MethodInvocation) {
								final IBinding result= ((MethodInvocation) expression).resolveMethodBinding();
								if (result != null && result.equals(fIterator))
									return replace(node);
							} else if (expression instanceof FieldAccess) {
								final IBinding result= ((FieldAccess) expression).resolveFieldBinding();
								if (result != null && result.equals(fIterator))
									return replace(node);
							}
						}
						return super.visit(node);
					}
					public final boolean visit(final SimpleName node) {
						if (fElement != null) {
							final IBinding binding= node.resolveBinding();
							if (binding != null && binding.equals(fElement)) {
								final Statement parent= (Statement) ASTNodes.getParent(node, Statement.class);
								if (parent != null && list.getRewrittenList().contains(parent))
									addLinkedPosition(rewrite.track(node), false, GROUP_ELEMENT);
							}
						}
						return false;
					}
				});
			}