/src/main/java/net/finmath/singleswaprate/annuitymapping/AnnuityMappingFactory.java
ForwardCurve forwardCurve; double strike = this.strike;
double strike = this.strike; ForwardCurve forwardCurve;
this.strike = strike; this.lowerBound = lowerBound; this.upperBound = upperBound; this.numberOfEvaluationPoints = numberOfEvaluationPoints; } public AnnuityMapping build(final AnnuityMappingType type, final VolatilityCubeModel model) { <extra_id_0> if(Double.isNaN(strike)) { if(forwardCurveName == null || forwardCurveName.isEmpty()) { forwardCurve = new ForwardCurveFromDiscountCurve(discountCurveName, fixSchedule.getReferenceDate(), SchedulePrototype.getOffsetCodeFromSchedule(fixSchedule)); } else { forwardCurve = model.getForwardCurve(forwardCurveName);