void (MouseEvent e) { AnActionEvent event = AnActionEvent.createFromInputEvent(e, myPlace, myPresentation, getDataContext(), false, true); if (ActionUtil.lastUpdateAndCheckDumb(myAction, event, false) && isEnabled()) { ActionUtil.performDumbAwareWithCallbacks(myAction, event, () -> actionPerformed(event)); if (event.getInputEvent() instanceof MouseEvent) { ToolbarClicksCollector.record(myAction, myPlace, e, event.getDataContext()); } ActionToolbar toolbar = ActionToolbar.findToolbarBy(this); if (toolbar != null) { toolbar.updateActionsImmediately(); } } }