getComponentForControl(oControl) {
			function getComponentIdForControl(oControl) {
				const sComponentId = Component.getOwnerIdFor(oControl);
				if (!sComponentId) {
					if (typeof oControl?.getParent === "function") {
						const oParent = oControl.getParent();
						if (oParent) {
							return getComponentIdForControl(oParent);
						}
					}
				}
				return sComponentId || "";
			}

			// determine UI5 component out of given control
			if (oControl) {
				const sComponentId = getComponentIdForControl(oControl);
				if (sComponentId) {
					return Component.getComponentById(sComponentId);
				}
			}
			return undefined;
		}
Returns the Component that belongs to the passed control. If the control has no component,
it walks up the control tree in order to find a control having one.

@param {sap.ui.core.Control} oControl - SAPUI5 control
@returns {sap.ui.core.Component} found component
@private
@ui5-restricted sap.ui.fl