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