void (@NotNull Project project) { StartupManager.getInstance(project).runAfterOpened(() -> { if (project.isDisposed()) { return; } LOG.debug("register touchbar actions for project %s", project); registerTouchbarActionsImpl(project); }); }