function getFinalState(aFlVariantsFinalState, aFlexObjects, oVariant) {
		if (oVariant.isA("sap.ui.fl.apply._internal.flexObjects.CompVariant")) {
			var aVariantChanges = aFlexObjects.filter(function(oFlexObject) {
				return oFlexObject.getChangeType() === "updateVariant" && oFlexObject.getSelector().variantId === oVariant.getId();
			});

			// Clone it, to avoid that we modify the original and that modifying the original affects the state
			var oClone = oVariant.clone();
			aVariantChanges.forEach(CompVariantMerger.applyChangeOnVariant.bind(CompVariantMerger, oClone));
			// Avoid garbage
			oClone.removeAllChanges();
			oClone.destroy();
			return oClone.mProperties;
		}

		return aFlVariantsFinalState.find(function(oFlVariant) {
			return oFlVariant.key === oVariant.getId();
		});
	}
CompVariant FlexObjects are already in final state with changes applied, but Fl vars are not and we have to fetch it
@param {object[]} aFlVariantsFinalState FlVariant final states from Variant Management
@param {object[]} aFlexObjects All Flex Objects
@param {object} oVariant Comp or Fl Variant
@returns {object} Comp variant or Fl variant from final states