}
}
private void injectParameters(Object bean)
{
Parameters params = Parameters.instance();
if (params!=null) //check for unit tests
{
Map<String, String[]> requestParameters = params.getRequestParameters();
for (BijectedAttribute setter: parameterSetters)
{
Object convertedValue = params.convertMultiValueRequestParameter(requestParameters, setter.getName(), setter.getType());
setter.set(bean, convertedValue);
}
}
}