public boolean visit(IResource resource) throws CoreException { resultSet.add(resource);
public boolean visit(IResource aResource) throws CoreException { resultSet.add(aResource);
    private Set resourcesToRefresh(IResource resource, int depth, int flags, int expectedSize) throws CoreException    {        if (!resource.exists() && !resource.isPhantom())        {            return new HashSet(0);        }    	final Set resultSet = (expectedSize != 0) ? new HashSet(expectedSize) : new HashSet();		resource.accept(new IResourceVisitor() {			public boolean visit(IResource resource) throws CoreException {				resultSet.add(resource);				return true;			}		}, depth, flags);		return resultSet;    }