@Override
	public boolean isDescendantOf(@Nonnull PathNode<?> other) {
		// Workspace is the root of all paths.
		// Only other workspace paths with the same value should count here.
		if (typeId().equals(other.typeId()))
			return getValue().equals(other.getValue());

		// We have no parents.
		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