code: function (control) {
  				var result = [];
  				var inheritedMetadata = control.getMetadata().getParent();
  
  				while (inheritedMetadata instanceof ElementMetadata) {
  					result.push(this._copyInheritedProperties(control, inheritedMetadata));
  					inheritedMetadata = inheritedMetadata.getParent();
  				}
  
  				return result;
  			}
docs: Creates an array with the control properties that are inherited.
  @param {Object} control - UI5 control.
  @returns {Array}
  @private