Set<MetaConstraint<?>> classLevelConstraints = getClassLevelConstraints( beanClass );
if ( !classLevelConstraints.isEmpty() ) {
ConstrainedType classLevelMetaData =
new ConstrainedType(
ConfigurationSource.ANNOTATION,
new BeanConstraintLocation( beanClass ),
classLevelConstraints
);
constrainedElements.add( classLevelMetaData );
}