ArgumentChecker.notNull(marketSpreads, "Market spreads");
ArgumentChecker.notNull(spreadBumpType, "Spread bump type");
ArgumentChecker.notNull(priceType, "Price type");
// Construct a market data checker object
final SpreadTermStructureDataChecker checkMarketData = new SpreadTermStructureDataChecker();
// Check the efficacy of the input market data
checkMarketData.checkSpreadData(valuationDate, /*cds, */marketTenors, marketSpreads);
// ----------------------------------------------------------------------------------------------------------------------------------------
// Calculate the bumped up market spreads
final double[] bumpedUpMarketSpreads = spreadBumper.getBumpedCreditSpreads(marketSpreads, spreadBump, spreadBumpType); //new double[marketSpreads.length];