result.put(params.get(i), args.getValueAt(i, env));
}
if(hasDefaultExpressions() && argsSize < paramsSize) {
// Create a scope that provides live access to the parameter list
// so we can reference already defined parameters
Scope scope = new NamedParameterMapScope(env.getCurrentScope(),
result);
fillInDefaults(env, scope, params.subList(argsSize, paramsSize));
}
if(catchall != null) {
SimpleSequence catchAllVars = new SimpleSequence();