public static Type genericType(Type type, String... typeParameters) {
        return SimpleParameterizedType.create(type,
            Stream.of(typeParameters).map(SimpleType::create).toArray(Type[]::new));
    }
Returns a new {@link SimpleParameterizedType} with the specified type
parameters.

@param type            the base type
@param typeParameters  all its type parameters
@return                the new generic type

@since 2.5
common-parent/codegen/src/main/java/com/speedment/common/codegen/constant/DefaultType.java