boolean (@NotNull String actionId) { final DataContext dataContext = getEditorDataContext(); final ActionManagerEx managerEx = ActionManagerEx.getInstanceEx(); final AnAction action = managerEx.getAction(actionId); final AnActionEvent event = new AnActionEvent(null, dataContext, ActionPlaces.UNKNOWN, new Presentation(), managerEx, 0); if (!ActionUtil.lastUpdateAndCheckDumb(action, event, false)) { return false; } ActionUtil.performActionDumbAwareWithCallbacks(action, event); return true; }