compound-constraints

A better way to skip over javax.validation and org.hibernate compound-constraints

I have the following method that recursively breaks down a compound constraint into its component constraints: private void handleComposingConstraints(String friendlyName, Constraint parentConstraint, ConstraintDescriptor<? extends Annotation> parentDescriptor) { if(parentDescriptor.getAnnotation().annotationType().getName().indexO...