final Annotation[] parameterAnnotations =
getParameterAnnotations(processParameterContext.getMethod())[processParameterContext.getParamNum()];
for (final Annotation parameterAnnotation : parameterAnnotations) {
if (parameterAnnotation instanceof RegEx) {
final RegEx annotation = (RegEx) parameterAnnotation;
addRegexFacetAndCorrespondingTitleFacet(processParameterContext.getFacetHolder(), annotation);
return;
}
}
}