Bug 74568 Convert for loop QA too sensitive on caret position
3.1 M2: The "Convert for loop" QA is only available if the caret is on the "for" keyword or after the second semicolon (inside the third controlling expression). I'd expect to have this QA on all three expressions.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
String label= CorrectionMessages.getFormattedString("QuickAssistProcessor.createmethodinsuper.description", curr.getName()); 
						resultingCollections.add(new NewDefiningMethodProposal(label, targetCU, astRoot, curr, binding, paramNames, 6));
					}
				}
			}
		}
		return true;
	}
	
	private boolean getConvertForLoopProposal(IInvocationContext context, ASTNode node, ArrayList resultingCollections) throws CoreException {
		if (!(node instanceof ForStatement))
			return false;
		
		if (resultingCollections == null)
			return true;
		
		ConvertForLoopProposal convertForLoopProposal= new ConvertForLoopProposal(
				CorrectionMessages.getString("QuickAssistProcessor.forLoop.description"),  
				context.getCompilationUnit(),
				((ForStatement) node), 1, 
				JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE));
		
		if (!convertForLoopProposal.satisfiesPreconditions())
		    return false;
		
		resultingCollections.add(convertForLoopProposal);
		return true;
	}	
}