src/sap.ui.core/src/sap/ui/core/support/techinfo/moduleTreeHelper.js
function (oHierarchy, oTree) {
			if (oTree.selected) {
				oHierarchy[""] = true;
			}

			for (var i = 0; i < oTree.nodes.length; i++) {
				oHierarchy[oTree.nodes[i].text] = {};
				if (oTree.nodes[i].nodes.length) {
					this.setHierarchyNode(oHierarchy[oTree.nodes[i].text], oTree.nodes[i]);
				} else  {
					oHierarchy[oTree.nodes[i].text] = oTree.nodes[i].selected;
				}
			}
		}
function (oHierarchy, oTree) {
			if (oTree.selected) {
				oHierarchy[""] = true;
			}

			for (var i = 0; i < oTree.nodes.length; i++) {
				oHierarchy[oTree.nodes[i].text] = {};
				if (oTree.nodes[i].nodes.length) {
					this.setHierarchyNode(oHierarchy[oTree.nodes[i].text], oTree.nodes[i]);
				} else  {
					oHierarchy[oTree.nodes[i].text] = oTree.nodes[i].selected;
				}
			}
		}
function ( oHierarchy , oTree ) { if ( oTree . selected ) { oHierarchy [ "" ] = true ; } for ( var i = 0 ; i < oTree . nodes . length ; i ++ ) { oHierarchy [ oTree . nodes [ i ] . text ] = { } ; if ( oTree . nodes [ i ] . nodes . length ) { this . setHierarchyNode ( oHierarchy [ oTree . nodes [ i ] . text ] , oTree . nodes [ i ] ) ; } else { oHierarchy [ oTree . nodes [ i ] . text ] = oTree . nodes [ i ] . selected ; } } }
Recursively converts a bindable tree node to a hierarchical model tree node
@param {object} oHierarchy The module hierarchy node with selected state
@param {object} oTree The tree node to be filled with the hierarchy information
Recursively converts a bindable tree node to a hierarchical model tree node