@Nullable public static ActionInfo findAction(String abbreviation) { String actionId; List<String> abbrActionIds = AbbreviationManager.getInstance().findActions(abbreviation); if (abbrActionIds.size() == 1) { actionId = abbrActionIds.get(0); return new ActionInfo(abbreviation, actionId); } else if (abbrActionIds.size() == 0) { return BuiltInActions.getActionInfo(abbreviation); } return null; }