String (@NotNull AnAction action) { String actionId = ActionManager.getInstance().getId(action instanceof CustomisedActionGroup ? ((CustomisedActionGroup)action).getOrigin() : action); return actionId == null ? action.toString() : actionId; }