tree.accept(((IFolder) members[index]).getFullPath(), new IDiffVisitor() {
tree.accept(folder.getFullPath(), new IDiffVisitor() {
	private Object[] getPackageFragmentRootChildren(final ISynchronizationContext context, final Object parent, final Object[] children) {		final Set set= new HashSet();		for (int index= 0; index < children.length; index++)			set.add(children[index]);		final IResource resource= JavaModelProvider.getResource(parent);		if (resource != null) {			final IResourceDiffTree tree= context.getDiffTree();			final IResource[] members= tree.members(resource);			for (int index= 0; index < members.length; index++) {				final int type= members[index].getType();				final boolean contained= isInScope(context.getScope(), parent, members[index]);				if (type == IResource.FILE && contained)					set.add(JavaCore.create((IFile) members[index]));				else if (type == IResource.FOLDER && contained)					set.add(JavaCore.create(members[index]));				if (members[index] instanceof IFolder) {					try {						tree.accept(((IFolder) members[index]).getFullPath(), new IDiffVisitor() {							public final boolean visit(final IDiff diff) throws CoreException {								final IResource current= tree.getResource(diff);								if (current.getType() == IResource.FILE)									set.add(JavaCore.create(current.getParent()));								else									set.add(JavaCore.create(current));								return true;							}						}, IResource.DEPTH_INFINITE);					} catch (CoreException exception) {						JavaPlugin.log(exception);					}				}			}			return set.toArray(new Object[set.size()]);		}		return children;	}