String (@NotNull String typeString) { final String realTypeName = NUMPY_ALIAS_TO_REAL_TYPE.get(typeString); if (realTypeName != null) { return realTypeName; } final List<String> typeSubStrings = StringUtil.split(typeString, " "); List<String> typeParts = new ArrayList<>(); for (String string : typeSubStrings) { final String type = NUMPY_ALIAS_TO_REAL_TYPE.get(string); typeParts.add(type != null ? type : string); } typeString = StringUtil.join(typeParts, " "); return typeString; }