class Lists {
  private Lists() {
  }

  /**
   * Returns a list containing the {@code first} element followed by the {@code rest}.
   */
  public static <T> List<T> of(T first, T[] rest) {<FILL_FUNCTION_BODY>}
}

    List<T> result = new ArrayList<>(rest.length + 1);
    result.add(first);
    Collections.addAll(result, rest);
    return result;
  
<no_super_class>