void (@NotNull AnActionEvent e, @NotNull Notification notification) { if (PluginManagerConfigurable.showRestartDialog() == Messages.YES) { notification.expire(); ApplicationManagerEx.getApplicationEx().restart(true); } }