Bug 97246 Convert to enhanced for misses cases with cast
RC1 The following case is missed: public void testNix() { List list= new ArrayList(); for (Iterator iterator = list.iterator(); iterator.hasNext();) { Object element = iterator.next(); } }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConvertIterableLoopProposal.java
if (result != null) {
										fOccurrences.add(node);
										fElement= result;
										return false;
									}
								}
							}
						}
						return true;
					}
					private boolean visit(final Expression left, final Expression right) {
						if (right instanceof MethodInvocation) {
							final MethodInvocation invocation= (MethodInvocation) right;
							final IMethodBinding binding= invocation.resolveMethodBinding();
							if (binding != null && binding.getName().equals("next")) { 
								final Expression qualifier= invocation.getExpression();
								if (qualifier instanceof Name) {
									final Name name= (Name) qualifier;
									final IBinding result= name.resolveBinding();
									if (result != null && result.equals(fIterator))
										return visit(left);
								} else if (qualifier instanceof MethodInvocation) {
									final MethodInvocation call= (MethodInvocation) qualifier;
									final IBinding result= call.resolveMethodBinding();
									if (result != null && result.equals(fIterator))
										return visit(left);
								} else if (qualifier instanceof FieldAccess) {
									final FieldAccess access= (FieldAccess) qualifier;
									final IBinding result= access.resolveFieldBinding();
									if (result != null && result.equals(fIterator))