@Override
  public boolean isInSource(@NotNull VirtualFile fileOrDir) {
    WorkspaceFileSet fileSet =
      myWorkspaceFileIndex.findFileSetWithCustomData(fileOrDir, true, true, false, true, false, ModuleOrLibrarySourceRootData.class);
    return fileSet != null;
  }
@Override
  public boolean isInSource(@NotNull VirtualFile fileOrDir)