code: public static <T> List<T> createList(T... args) {
          ArrayList<T> newList = new ArrayList<T>();
          Collections.addAll(newList, args);
          return newList;
      }
docs: Convenience method for building a list from vararg arguments
  @param args argument list
  @param <T> list type
  @return a new list created from var args