class SpreadSensitivityCalculator {

  public CurrencyAmount parallelCs01(
      ResolvedCdsTrade trade,
      CreditRatesProvider ratesProvider,
      ReferenceData refData) {

    List<ResolvedCdsTrade> bucketCds = getBucketCds(trade.getProduct(), ratesProvider);
    return parallelCs01(trade, bucketCds, ratesProvider, refData);
  }

  public  SpreadSensitivityCalculator(AccrualOnDefaultFormula formula);

}