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

			// determine UI5 component out of given control
			if (oControl) {
				oComponent = this.getAppComponentForControl(oControl);

				// determine manifest out of found component
				if (oComponent && oComponent.getMetadata) {
					oComponentMetaData = oComponent.getMetadata();
					if (oComponentMetaData && oComponentMetaData.getManifest) {
						oManifest = oComponentMetaData.getManifest();
					}
				}
			}

			return oManifest;
		}
function (oControl) {
			var oManifest = null, oComponent = null, oComponentMetaData = null;

			// determine UI5 component out of given control
			if (oControl) {
				oComponent = this.getAppComponentForControl(oControl);

				// determine manifest out of found component
				if (oComponent && oComponent.getMetadata) {
					oComponentMetaData = oComponent.getMetadata();
					if (oComponentMetaData && oComponentMetaData.getManifest) {
						oManifest = oComponentMetaData.getManifest();
					}
				}
			}

			return oManifest;
		}
function ( oControl ) { var oManifest = null , oComponent = null , oComponentMetaData = null ; // determine UI5 component out of given control if ( oControl ) { oComponent = this . getAppComponentForControl ( oControl ) ; // determine manifest out of found component if ( oComponent && oComponent . getMetadata ) { oComponentMetaData = oComponent . getMetadata ( ) ; if ( oComponentMetaData && oComponentMetaData . getManifest ) { oManifest = oComponentMetaData . getManifest ( ) ; } } } return oManifest ; }
Returns the appDescriptor of the component for the given control

@param {sap.ui.core.Control} oControl - SAPUI5 control
@returns {object} that represent the appDescriptor
@public
@function
@name sap.ui.fl.Utils.getAppDescriptor
Returns the appDescriptor of the component for the given control