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