code: @SafeVarargs
      public static <T> List<T> of(T... elements) {
          Preconditions.checkNotNull(elements);
          return ofInternal(elements);
      }
docs: Creates an immutable list that consists of the given elements. This method should only be used in the varargs form. If there is a need to create
  an immutable list of an array of elements, {@link #copyOf(Object[])} should be used instead.
  
  @param elements the given elements
  @return an immutable list