public DocPath toAbsolutePath() {
        if (absolute) {
            return this;
        } else {
            return new DocPath(parentParts, leafPart, DEFAULT_ABSOLUTE_VALUE);
        }
    }
@return The leaf part or null of this is an empty path
stroom-util-shared/src/main/java/stroom/util/shared/DocPath.java