class KiePMMLRegressionTableRegressionFactory {

    static Map<String, MethodDeclaration> addNumericPredictors(final List<NumericPredictor> numericPredictors
            , final ClassOrInterfaceDeclaration tableTemplate) {
        predictorsArity.set(0);
        return numericPredictors.stream()
                .map(numericPredictor -> new AbstractMap.SimpleEntry<>(numericPredictor.getName().getValue(),
                                                                       addNumericPredictor(numericPredictor,
                                                                                           tableTemplate,
                                                                                           predictorsArity.addAndGet(1))))
                .collect(Collectors.toMap(AbstractMap.SimpleEntry::getKey,
                                          AbstractMap.SimpleEntry::getValue));
    }

    private  KiePMMLRegressionTableRegressionFactory();

}