void (@NotNull AnActionEvent e) { AnAction showStashAction = ActionManager.getInstance().getAction("Git.Show.Stash"); AnActionEvent newEvent = AnActionEvent.createFromDataContext(e.getPlace(), showStashAction.getTemplatePresentation().clone(), e.getDataContext()); if (ActionUtil.lastUpdateAndCheckDumb(showStashAction, newEvent, true)) { ActionUtil.performActionDumbAwareWithCallbacks(showStashAction, newEvent); } else { super.actionPerformed(e); } }