public void processParams(final ProcessParameterContext processParameterContext) {
final java.lang.annotation.Annotation[] parameterAnnotations = Annotations.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;
}
}
}