code: public static TypeDef typeGenericOf(TypeDef base, TypeParamDef... parameters) {
          return new TypeDefBuilder(base)
                  .withParameters(parameters)
                  .build();
      }
docs: Sets one {@link io.sundr.codegen.model.TypeDef} as a generic of an other.
  
  @param base          The base type.
  @param parameters    The parameter types.
  @return              The generic type.