src/vs/base/browser/ui/tree/compressedObjectTreeModel.ts/CompressedObjectTreeModel/getCompressedNode
class CompressedObjectTreeModel:	getCompressedNode(element: T | null): ICompressedTreeNode<T> | null {
		if (element === null) {
			return null;
		}

		const node = this.nodes.get(element);

		if (!node) {
			throw new TreeError(this.user, `Tree element not found: ${element}`);
		}

		return node;
	}