}
if (annotationIgnores.isIgnoreAnnotationOnReturn(cons) && consDesc.getReturnValueDescriptor() != null) {
consDesc.setReturnValueDescriptor(null);
}
final MetaConstructor metaConstructor = metaBean.getConstructor(cons);
if (metaConstructor != null) {
for (final Annotation anno : metaConstructor.getAnnotations()) {
if (!Valid.class.isInstance(anno)) {
processAnnotations(null, consDesc, cons.getDeclaringClass(), anno);
} else {
consDesc.setCascaded(true);
}
}
// parameter validations
final Collection<MetaParameter> paramsAnnos = metaConstructor.getParameters();
for (final MetaParameter paramAnnos : paramsAnnos) {
final int idx = paramAnnos.getIndex();
final ParameterAccess access = new ParameterAccess(cons.getParameterTypes()[idx], idx);
processAnnotations(consDesc, paramAnnos.getAnnotations(), access, idx, names.get(idx));
}