docs: public static RandomVariable getSwapAnnuity(double evaluationTime, Schedule schedule, DiscountCurveInterface discountCurve, AnalyticModel model) {
  		RandomVariable value = new RandomVariableFromDoubleArray(0.0);
  		for(int periodIndex=0; periodIndex<schedule.getNumberOfPeriods(); periodIndex++) {
  			double paymentDate		= schedule.getPayment(periodIndex);
  			if(paymentDate <= evaluationTime) {
  				continue;
  			}
  
  			double periodLength		= schedule.getPeriodLength(periodIndex);
  			RandomVariable discountFactor	= discountCurve.getDiscountFactor(model, paymentDate);
  			value = discountFactor.mult(periodLength).add(value);
  		}
  		return value.div(discountCurve.getDiscountFactor(model, evaluationTime));
  	}