void (@NotNull AnActionEvent e, @NotNull Notification notification) { boolean appliedWithoutRestart = enabled ? pluginEnabler.disable(descriptors) : pluginEnabler.enable(descriptors); notification.expire(); notifyIfRestartRequired(!appliedWithoutRestart); }