<T> T getObjectOfType(String key, Class<T> type, boolean isPrimitive, MethodParameter methodParameter,
Object[] defaultValues) {
ValueList container = getValueList(key, false);
if (container == null) {
container = new ValueListSupport(getTypeConverter(), requestContext.isConverterQuiet());
if (!isEmptyArray(defaultValues)) {
for (Object value : defaultValues) {
container.addValue(value);
}