protected Map<String, FunctionConfiguration> getFunctionConfigurations(final AnnotationHandler handler,
                                                                           final Set<Method> methods) throws Exception {
        info("");
        info(GENERATE_CONFIG);
        final Map<String, FunctionConfiguration> configMap = handler.generateConfigurations(methods);
        if (configMap.size() == 0) {
            info(GENERATE_SKIP);
        } else {
            final String scriptFilePath = getScriptFilePath();
            configMap.values().forEach(config -> config.setScriptFile(scriptFilePath));
            info(GENERATE_DONE);
        }

        return configMap;
    }
protected Map < String , FunctionConfiguration > getFunctionConfigurations ( final AnnotationHandler handler , final Set < Method > methods ) throws Exception { info ( "" ) ; info ( GENERATE_CONFIG ) ; final Map < String , FunctionConfiguration > configMap = handler . generateConfigurations ( methods ) ; if ( configMap . size ( ) == 0 ) { info ( GENERATE_SKIP ) ; } else { final String scriptFilePath = getScriptFilePath ( ) ; configMap . values ( ) . forEach ( config -> config . setScriptFile ( scriptFilePath ) ) ; info ( GENERATE_DONE ) ; } return configMap ; }
region Generate function configurations