src/sap.ui.core/src/sap/ui/core/util/reflection/BaseTreeModifier.js
function(oControl) {
			var sControlType = this._getControlTypeInXml(oControl);
			jQuery.sap.require(sControlType);
			var ControlType = ObjectPath.get(sControlType);
			return ControlType.getMetadata();
		}
function(oControl) {
			var sControlType = this._getControlTypeInXml(oControl);
			jQuery.sap.require(sControlType);
			var ControlType = ObjectPath.get(sControlType);
			return ControlType.getMetadata();
		}
function ( oControl ) { var sControlType = this . _getControlTypeInXml ( oControl ) ; jQuery . sap . require ( sControlType ) ; var ControlType = ObjectPath . get ( sControlType ) ; return ControlType . getMetadata ( ) ; }
Gets the metadata of am XML control.

@param {Element} oControl - Control in XML
@returns {sap.ui.base.Metadata} Metadata of the control
Gets the metadata of am XML control .