for (final Iterator iterator= set.iterator(); iterator.hasNext();) {
for (final Iterator iterator= set.iterator(); iterator.hasNext(); index++) {
	private static IProject[] getAffectedProjects(final RefactoringDescriptorProxy[] descriptors) {		final Set set= new HashSet();		for (int index= 0; index < descriptors.length; index++) {			final String project= descriptors[index].getProject();			if (project == null || "".equals(project)) //$NON-NLS-1$				return null;			set.add(project);		}		final IWorkspaceRoot root= ResourcesPlugin.getWorkspace().getRoot();		final IProject[] result= new IProject[set.size()];		int index= 0;		for (final Iterator iterator= set.iterator(); iterator.hasNext();) {			result[index]= root.getProject((String) iterator.next());		}		return result;	}