this.defaultValues = defaultValues;
this.paramName = paramName;
}
public Object resolve() {
ParameterParser params = parserRequestContext.getParameters();
Class<?> paramType = context.getTypeInfo().getRawType();
MethodParameter methodParameter = context.getExtraObject(MethodParameter.class);
return params.getObjectOfType(paramName, paramType, methodParameter, defaultValues);
}