@Override
	public boolean equals(Object o) {
		// Workspace equality checks are abysmally slow because are checking if all the contained
		// contents are also equal. Realistically we can get away with a reference check.
		if (o instanceof WorkspacePathNode otherPath)
			return getValue() == otherPath.getValue();
		return false;
	}
@param resource
		Resource to wrap into node.

@return Path node of resource, with the current workspace as parent.
recaf-core/src/main/java/software/coley/recaf/path/WorkspacePathNode.java