@Nullable
  private static ProjectFileIndex getProjectFileIndex(@Nullable Project project) {
    return project == null || project.isDisposed() ? null : ProjectFileIndex.getInstance(project);
  }
@Nullable
  private static ProjectFileIndex getProjectFileIndex(@Nullable Project project)