code: @SafeVarargs
    public static <E> List<E> of(E... elements) {
      Preconditions.checkNotNull(elements, "elements");
      return Collections.unmodifiableList(Arrays.asList(elements));
    }
docs: Returns an unmodifiable view of the list composed of elements.
  
  @param elements Array of elements.
  @param <E>      Type of the elements of the list.
  @return an unmodifiable view of the list composed of elements.