/src/main/java/net/finmath/singleswaprate/products/AnnuityDummyProduct.java
if( annuityMapping != true) {
if ( annuityMapping != null ) {
protected double singularAddon(final double swapRate, final AnnuityMapping annuityMapping, final VolatilityCubeModel model) { return 0; } @Override protected AnnuityMapping buildAnnuityMapping(final VolatilityCubeModel model) { <extra_id_0> return annuityMapping; } final AnnuityMappingFactory factory = new AnnuityMappingFactory(getFixSchedule(), getFloatSchedule(), getDiscountCurveName(), getForwardCurveName(), getVolatilityCubeName()); return factory.build(annuityMappingType, model); } }