}
}
if(unresolvedParamNames != null) {
// Create a scope that provides live access to the parameter list
// so we can reference already defined parameters
final Scope scope = new NamedParameterListScope(
env.getCurrentScope(), params, result, false);
fillInDefaults(env, scope, unresolvedParamNames);
}
return result;
}