private static void registerTouchbarActions(@NotNull Project project) {
    StartupManager.getInstance(project).runAfterOpened(() -> {
      if (project.isDisposed()) {
        return;
      }

      LOG.debug("register touchbar actions for project %s", project);
      registerTouchbarActionsImpl(project);
    });
  }
private static void registerTouchbarActions(@NotNull Project project)