function = composeFunction(functionName,
function = composeFunction(functionName + "_action",
    public RhinoActionAdapter(Resource action) throws IOException {        String content = action.getContent();        String functionName = action.getShortName().replace('.', '_');        sourceName = action.toString();        function = composeFunction(functionName,                                   "arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10",                                   content);        // check if this is a template and we need to generate an "_as_string" variant        if (action.getName().endsWith(".hsp")) {            functionAsString = composeFunction(functionName + "_as_string",                                               "arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10",                                               "res.pushStringBuffer(); " + content +                                               "\r\nreturn res.popStringBuffer();\r\n");        } else {            functionAsString = null;        }    }