public Path append(Path path) {
        List<String> newElements = new ArrayList<>(this.elements);
        newElements.addAll(path.elements());
        return new Path(newElements, delimiter);
    }
Appends a path to another path, thereby creating a new path with the provided path
appended to this.

@param path the path to append
@return a new path with argument appended to it
integration/intellij/src/main/java/ai/vespa/intellij/schema/utils/Path.java