docs: public double getValueWithGivenSpreadOverCurve(double evaluationTime,Curve referenceCurve, double spread, AnalyticModel model) {
  		double value=0;
  		for(int periodIndex=0; periodIndex<schedule.getNumberOfPeriods();periodIndex++) {
  			double paymentDate	= schedule.getPayment(periodIndex);
  			value+= paymentDate>evaluationTime ? getCouponPayment(periodIndex,model)*Math.exp(-spread*paymentDate)*referenceCurve.getValue(paymentDate): 0.0;
  		}
  
  		double paymentDate	= schedule.getPayment(schedule.getNumberOfPeriods()-1);
  		return paymentDate>evaluationTime ? value+Math.exp(-spread*paymentDate)*referenceCurve.getValue(paymentDate):0.0;
  	}