@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;

		PathNode<?> node = (PathNode<?>) o;

		return getValue().equals(node.getValue()) && Objects.equals(parent, node.getParent());
	}
@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