src/sap.ui.fl/src/sap/ui/fl/Utils.js
function (oControl) {
			var oComponent = null;
			var sComponentId = null;

			// determine UI5 component out of given control
			if (oControl) {
				sComponentId = Utils._getComponentIdForControl(oControl);
				if (sComponentId) {
					oComponent = Utils._getComponent(sComponentId);
				}
			}

			return oComponent;
		}
function (oControl) {
			var oComponent = null;
			var sComponentId = null;

			// determine UI5 component out of given control
			if (oControl) {
				sComponentId = Utils._getComponentIdForControl(oControl);
				if (sComponentId) {
					oComponent = Utils._getComponent(sComponentId);
				}
			}

			return oComponent;
		}
function ( oControl ) { var oComponent = null ; var sComponentId = null ; // determine UI5 component out of given control if ( oControl ) { sComponentId = Utils . _getComponentIdForControl ( oControl ) ; if ( sComponentId ) { oComponent = Utils . _getComponent ( sComponentId ) ; } } return oComponent ; }
Returns the Component that belongs to given control. If the control has no component, it walks up the control tree in order to find a
control having one.

@param {sap.ui.base.ManagedObject} oControl - Managed object instance
@returns {sap.ui.core.Component|null} found component
@private
Returns the Component that belongs to given control . If the control has no component it walks up the control tree in order to find a control having one .