code: public static DocumentPath from(List<String> elements) {
      List<String> copy = new ArrayList<>();
      copy.add(ROOT_ELEMENT);
      copy.addAll(elements);
      return new DocumentPath(copy);
    }
docs: Creates a new root {@code DocumentPath} from a list of path elements.
  
  @param elements path elements
  @return {@code DocumentPath} instance