@Override
	public int compareTo(@Nonnull PathNode<?> o) {
		if (this == o) return 0;
		int cmp = localCompare(o);
		if (cmp == 0) cmp = cmpHierarchy(o);
		if (cmp == 0) cmp = cmpParent(o);
		return cmp;
	}
@param path
		Some other path.

@return Comparing {@link #getParent() the parent} to the given value.
recaf-core/src/main/java/software/coley/recaf/path/AbstractPathNode.java