allMembers.addAll(Arrays.asList(((IContainer)resource).members()));
allMembers.addAll(Arrays.asList(((IContainer)resource).members(true)));
    public IResource[] members(IResource resource) throws TeamException {		if(resource.getType() == IResource.FILE) {			return new IResource[0];		}			try {			Set allMembers = new HashSet();			try {				allMembers.addAll(Arrays.asList(((IContainer)resource).members()));			} catch (CoreException e) {				if (e.getStatus().getCode() == IResourceStatus.RESOURCE_NOT_FOUND) {					// The resource is no longer exists so ignore the exception				} else {					throw e;				}			}			//add remote changed resources (they may not exist locally)			allMembers.addAll(Arrays.asList( remoteSyncStateStore.members( resource ) ) );			//TODO: add local changed resources (they may not exist locally)			//allMembers.addAll(Arrays.asList( localSyncStateStore.members( resource ) ) );			return (IResource[]) allMembers.toArray(new IResource[allMembers.size()]);		} catch (CoreException e) {			throw TeamException.asTeamException(e);		}    }