return Collections.unmodifiableSet( matchingDescriptors );
}
private void findMatchingDescriptors(Set<ConstraintDescriptor<?>> matchingDescriptors) {
if ( !groups.isEmpty() ) {
GroupChain groupChain = new GroupChainGenerator().getGroupChainFor( groups );
Iterator<Group> groupIterator = groupChain.getGroupIterator();
while ( groupIterator.hasNext() ) {
Group g = groupIterator.next();
addMatchingDescriptorsForGroup( g.getGroup(), matchingDescriptors );
}