violationMessage.addLine(beanClass.getName(), " has no explicit no-arg constructor!",
"A public or protected constructor without args is required!");
}
else if (Modifier.isPrivate(cons.getModifiers()))
{
final boolean containsViolation = violationMessage.containsViolation();
violationMessage.addLine(beanClass.getName(), " has a >private< no-arg constructor! CDI doesn't allow to proxy that.");
if (!containsViolation)
{ // lazy
return createUnproxyableResolutionException(violationMessage);
}