public static ClassOrInterfaceType getTypedClassOrInterfaceTypeByTypeNames(final String className,
                                                                               final List<String> typesName) {
        List<Type> types = typesName.stream()
                .map(StaticJavaParser::parseClassOrInterfaceType).collect(Collectors.toList());
        return getTypedClassOrInterfaceTypeByTypes(className, types);
    }
@Test
    void getTypedClassOrInterfaceType() {
        String className = "CLASS_NAME";
        List<String> typesName = Arrays.asList("TypeA", "TypeB");
        ClassOrInterfaceType retrieved = CommonCodegenUtils.getTypedClassOrInterfaceTypeByTypeNames(className, typesName);
        assertThat(retrieved).isNotNull();
        String expected = String.format("%1$s<%2$s,%3$s>", className, typesName.get(0), typesName.get(1));
        assertThat(retrieved.asString()).isEqualTo(expected);
    }