Annotation[] paramAnnotations = methodParam.getParameterAnnotations();
for (Annotation paramAnn : paramAnnotations) {
if (RequestParam.class.isInstance(paramAnn)) {
RequestParam requestParam = (RequestParam) paramAnn;
if (StringUtils.hasText(requestParam.value())) {
this.name = requestParam.value();
}
this.required = requestParam.required();
this.defaultValue = ValueConstants.DEFAULT_NONE.equals(requestParam.defaultValue()) ? null
: requestParam.defaultValue();
this.hasRequestParamAnnotation = true;
this.hasRequestHeaderAnnotation = false;
break;
} else if (RequestHeader.class.isInstance(paramAnn)) {
RequestHeader requestHeader = (RequestHeader) paramAnn;