Bug 119923 [clean up][infrastructure] ConvertForLoop should use ContextSensitiveImportRewriteContext
Version: 3.2.0 Build id: I20051206-1200
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ConvertIterableLoopProposal.java
private IBinding fElement= null;
	
	private Expression fExpression= null;
	
	private IBinding fIterable= null;
	
	private IVariableBinding fIterator= null;
	
	private List fOccurrences= new ArrayList(2);
	
	private final CompilationUnit fRoot;
	
	private final ForStatement fStatement;
	private final ICompilationUnit fCompilationUnit;
	private final String fIdentifierName;
	/**
	 * Creates a new convert iterable loop proposal.
	 * 
	 * @param unit the compilation unit containing the for statement
	 * @param statement the for statement to be converted
	 */
	public ConvertIterableLoopProposal(final CompilationUnit unit, final ForStatement statement, String identifierName) {
		fIdentifierName= identifierName;
		fCompilationUnit= (ICompilationUnit)unit.getJavaElement();
		fStatement= statement;
		fRoot= (CompilationUnit) statement.getRoot();
	}
	private List computeElementNames() {
		final List names= new ArrayList();