void (@NotNull Editor editor, @NotNull String actionId, boolean assertActionIsEnabled) { ActionManagerEx actionManager = ActionManagerEx.getInstanceEx(); AnAction action = actionManager.getAction(actionId); assertNotNull(action); executeAction(editor, assertActionIsEnabled, action); }