Validate.notNull(swaption);
Validate.notNull(curves);
if (curves instanceof SABRInterestRateDataBundle) {
final SABRInterestRateDataBundle sabr = (SABRInterestRateDataBundle) curves;
final SwaptionCashFixedIborSABRExtrapolationRightMethod method = new SwaptionCashFixedIborSABRExtrapolationRightMethod(_cutOffStrike, _mu);
return method.presentValueSensitivity(swaption, sabr).getSensitivities();
}
throw new UnsupportedOperationException("The PresentValueCurveSensitivitySABRExtrapolationCalculator visitor visitSwaptionCashFixedIbor requires a SABRInterestRateDataBundle as data.");
}
@Override