static @Nullable ProjectFileIndex getFileIndex(@NotNull Project project) {
    return !project.isInitialized() ? null : ProjectRootManager.getInstance(project).getFileIndex();
  }
static @Nullable ProjectFileIndex getFileIndex(@NotNull Project project)