src/sap.ui.rta/src/sap/ui/rta/util/BindingsExtractor.js
function getBindingsFromTemplateProperties(oElement) {
		var aPropertiesKeys = Object.keys(oElement.getMetadata().getAllProperties());

		return aPropertiesKeys
			.filter(function (sPropertyName) {
				return sPropertyName in oElement.mBindingInfos;
			})
			.reduce(function (aBindings, sPropertyName) {
				return aBindings.concat(
					flattenBindingsFromTemplate(
						oElement.mBindingInfos[sPropertyName]
					)
				);
			}, []);
	}
function getBindingsFromTemplateProperties(oElement) {
		var aPropertiesKeys = Object.keys(oElement.getMetadata().getAllProperties());

		return aPropertiesKeys
			.filter(function (sPropertyName) {
				return sPropertyName in oElement.mBindingInfos;
			})
			.reduce(function (aBindings, sPropertyName) {
				return aBindings.concat(
					flattenBindingsFromTemplate(
						oElement.mBindingInfos[sPropertyName]
					)
				);
			}, []);
	}
function getBindingsFromTemplateProperties ( oElement ) { var aPropertiesKeys = Object . keys ( oElement . getMetadata ( ) . getAllProperties ( ) ) ; return aPropertiesKeys . filter ( function ( sPropertyName ) { return sPropertyName in oElement . mBindingInfos ; } ) . reduce ( function ( aBindings , sPropertyName ) { return aBindings . concat ( flattenBindingsFromTemplate ( oElement . mBindingInfos [ sPropertyName ] ) ) ; } , [ ] ) ; }
Retrieving all bindings from all available properties for a specified element of template

@param {sap.ui.core.Control} oElement - element to get bindings from
@return {Array} - returns found bindings
@private
Retrieving all bindings from all available properties for a specified element of template