code: function fetchPropertyAndType() {
  			if (bIsAdvertisement) {
  				// Ensure entity type metadata is loaded even for advertisement so that sync access
  				// to key properties is possible
  				return oMetaModel.fetchObject(sFullMetaPath.slice(0,
  					sFullMetaPath.lastIndexOf("/") + 1));
  			}
  			return oMetaModel.fetchObject(sFullMetaPath).then(function (oProperty) {
  				if (oProperty && oProperty.$kind === "NavigationProperty") {
  					// Ensure that the target type of the navigation property is available
  					// synchronously. This is only necessary for navigation properties and may only
  					// be done for them because it would fail for properties with a simple type like
  					// "Edm.String".
  					return oMetaModel.fetchObject(sFullMetaPath + "/").then(function () {
  						return oProperty;
  					});
  				}
  				return oProperty;
  			});
  		}
docs: /*
  Fetches the property that is reached by the calculated meta path and (if necessary) its
  type.
  @returns {sap.ui.base.SyncPromise} A promise that is either resolved with the property
  or, in case of an action advertisement with the entity. If no property can be reached
  by the calculated meta path the promise is resolved with undefined.