String functionName = template.getShortName().replace('.', '_') + "_as_string";
String functionName = template.getBaseName().replace('.', '_') + "_as_string";
    public static String convertHspAsString(Resource template) throws IOException {        String functionName = template.getShortName().replace('.', '_') + "_as_string";        String body = processHspBody(template.getContent());        return composeFunction(functionName,                               "arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10",                               "res.pushStringBuffer(); " + body +                               "\r\nreturn res.popStringBuffer();\r\n");    }