final java.lang.annotation.Annotation[] parameterAnnotations =
getParameterAnnotations(processParameterContext.getMethod())[processParameterContext.getParamNum()];
for (final Annotation parameterAnnotation : parameterAnnotations) {
if (parameterAnnotation instanceof MaxLength) {
final MaxLength annotation = (MaxLength) parameterAnnotation;
FacetUtil.addFacet(create(annotation, processParameterContext.getFacetHolder()));
return;
}
}
}