}
private <A extends Annotation> MetaConstraint<A> adaptOriginAndImplicitGroup(
Class<?> beanClass, MetaConstraint<A> constraint) {
ConstraintOrigin definedIn = definedIn( beanClass, constraint.getLocation().getBeanClass() );
if ( definedIn == ConstraintOrigin.DEFINED_LOCALLY ) {
return constraint;
}