code: public static RandomVariable getSwapAnnuity(TimeDiscretization tenor, DiscountCurveInterface discountCurve) {
  		return getSwapAnnuity(new RegularSchedule(tenor), discountCurve);
  	}
docs: Function to calculate an (idealized) swap annuity for a given schedule and discount curve.
  
  @param tenor The schedule discretization, i.e., the period start and end dates. End dates are considered payment dates and start of the next period.
  @param discountCurve The discount curve.
  @return The swap annuity.