ArgumentChecker.notNull(swaption, "swaption");
ArgumentChecker.notNull(curves, "curves");
if (curves instanceof SABRInterestRateDataBundle) {
final SABRInterestRateDataBundle sabr = (SABRInterestRateDataBundle) curves;
final SwaptionPhysicalFixedIborSABRMethod method = SwaptionPhysicalFixedIborSABRMethod.getInstance();
return method.presentValueSABRSensitivity(swaption, sabr);
}
throw new UnsupportedOperationException("The PresentValueSABRSensitivitySABRCalculator visitor visitSwaptionPhysicalFixedIbor requires a SABRInterestRateDataBundle as data.");
}