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

		return aPropertiesKeys
			// filter properties which are not bound
			.filter(oElement.getBinding.bind(oElement))
			.reduce(function (aBindings, sPropertyName) {
				return aBindings.concat(
					flattenBindings(
						oElement.getBinding(sPropertyName),
						oParentDefaultModel
					)
				);
			}, []);
	}
function getBindingsFromProperties(oElement, oParentDefaultModel) {
		var aPropertiesKeys = Object.keys(oElement.getMetadata().getAllProperties());

		return aPropertiesKeys
			// filter properties which are not bound
			.filter(oElement.getBinding.bind(oElement))
			.reduce(function (aBindings, sPropertyName) {
				return aBindings.concat(
					flattenBindings(
						oElement.getBinding(sPropertyName),
						oParentDefaultModel
					)
				);
			}, []);
	}
function getBindingsFromProperties ( oElement , oParentDefaultModel ) { var aPropertiesKeys = Object . keys ( oElement . getMetadata ( ) . getAllProperties ( ) ) ; return aPropertiesKeys // filter properties which are not bound . filter ( oElement . getBinding . bind ( oElement ) ) . reduce ( function ( aBindings , sPropertyName ) { return aBindings . concat ( flattenBindings ( oElement . getBinding ( sPropertyName ) , oParentDefaultModel ) ) ; } , [ ] ) ; }
Retrieving all bindings from all available properties for a specified element

@param {sap.ui.core.Control} oElement - element to get bindings from
@param {sap.ui.model.Model} oParentDefaultModel - parent model to filter irrelevant bindings

@return {Array} - returns found bindings

@private
Retrieving all bindings from all available properties for a specified element