class ForexSwapDiscountingMethod {

  public MultipleCurrencyMulticurveSensitivity presentValueCurveSensitivity(final ForexSwap fx, final MulticurveProviderInterface multicurves) {
    ArgumentChecker.notNull(fx, "Forex swap");
    MultipleCurrencyMulticurveSensitivity result = METHOD_FX.presentValueCurveSensitivity(fx.getNearLeg(), multicurves);
    result = result.plus(METHOD_FX.presentValueCurveSensitivity(fx.getFarLeg(), multicurves));
    return result;
  }

  private  ForexSwapDiscountingMethod();

}