public boolean addCurrent(final VirtualFile file) {
    for (String path : myPaths) {
      if (VfsUtilCore.isAncestorOrSelf(path, file)) {
        return false;
      }
    }

    myPaths.add(file.getPath());
    return true;
  }
public boolean addCurrent(final VirtualFile file)