public static @NotNull ProjectStartupTaskManager getInstance(@NotNull Project project) {
    return project.getService(ProjectStartupTaskManager.class);
  }
public static @NotNull ProjectStartupTaskManager getInstance(@NotNull Project project)