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