void (@NotNull AnActionEvent e) { AnActionEvent delegateEvent = e; if (myProvider != null) { delegateEvent = AnActionEvent.createFromAnAction(myDelegate, e.getInputEvent(), myActionPlace, DataManager.getInstance().getDataContext(myProvider)); } myDelegate.actionPerformed(delegateEvent); }