String (@NotNull String typeName) { if (typeName.contains(".")) { typeName = typeName.substring(typeName.lastIndexOf(".") + 1); } if (typeName.contains("<")) { typeName = typeName.substring(0, typeName.indexOf("<")); } return typeName; }