code: @SafeVarargs
      /* #end */
    public static <KType> KTypeArrayList<KType> from(KType... elements) {
      final KTypeArrayList<KType> list = new KTypeArrayList<KType>(elements.length);
      list.add(elements);
      return list;
    }
docs: /* #if ($TemplateOptions.KTypeGeneric)