@NotNull
  private List<Optional<E>> getEmptyInfo(int n) {
    //noinspection unchecked
    Optional<E>[] optionals = new Optional[n];
    Arrays.fill(optionals, Optional.empty());
    return Arrays.asList(optionals);
  }
@NotNull
  private List<Optional<E>> getEmptyInfo(int n)