Bug 97283 [quick fix] enhanced for loop should not show up on 1.4 projects
RC1 I also get the enhanced for loop proposals in a 1.4 project
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConvertIterableLoopProposal.java
if (result != null && result.equals(fIterator))
									return visit(left);
							}
						}
					} else if (right instanceof NullLiteral)
						return visit(left);
					return true;
				}
				public final boolean visit(final VariableDeclarationFragment node) {
					return visit(node.getName(), node.getInitializer());
				}
			});
		}
		final ASTNode root= fStatement.getRoot();
		if (root != null) {
			root.accept(new ASTVisitor() {
				public final boolean visit(final ForStatement node) {
					return false;
				}
				public final boolean visit(final SimpleName node) {
					final IBinding binding= node.resolveBinding();
					if (binding != null && binding.equals(fElement))
						fAssigned= true;
					return false;
				}
			});
		}
		return fExpression != null && fIterable != null && fIterator != null && fElement != null && !fAssigned;
	}
}