public static void addShowDetailsAction(@NotNull Project project, @NotNull Notification notification) {
    if (!VcsConsoleTabService.getInstance(project).isConsoleEmpty()) {
      notification.addAction(NotificationAction.createSimple(VcsBundle.message("notification.showDetailsInConsole"), () -> {
        VcsConsoleTabService.getInstance(project).showConsoleTabAndScrollToTheEnd();
      }));
    }
  }
public static void addShowDetailsAction(@NotNull Project project, @NotNull Notification notification)