void (@NotNull ActionEvent e) { GradleActionsUsagesCollector.trigger(myProject, GradleActionsUsagesCollector.GRACEFUL_STOP_ALL_DAEMONS); ApplicationManager.getApplication().invokeLater(() -> { GradleDaemonServices.gracefulStopDaemons(); updateDaemonsList(); }); }