code: @SafeVarargs
      public static <T> List<T> createList(T... _entries) {
          List<T> l = new ArrayList<>();
          if (_entries != null) {
              l.addAll(Arrays.asList(_entries));
          }
          return l;
      }
docs: Creates a list from a varargs parameter array.
  The generic list is created with the same type as the parameters.
  @param _entries list entries
  @param <T> list type
  @return list