@Override
  public boolean isDirectoryAccepted(@NotNull File dir, @NotNull BuildRootDescriptor descriptor) {
    return !myIgnoredFileIndex.isIgnored(dir.getName()) && !descriptor.getExcludedRoots().contains(dir);
  }
@Override
  public boolean isDirectoryAccepted(@NotNull File dir, @NotNull BuildRootDescriptor descriptor)