private Set<ConstraintDescriptorImpl<?>> getClassLevelConstraintsAsDescriptors() {
    Set<MetaConstraint<?>> classLevelConstraints = getClassLevelConstraints(allMetaConstraints);

    Set<ConstraintDescriptorImpl<?>> theValue = newHashSet();

    for (MetaConstraint<?> metaConstraint : classLevelConstraints) {
      theValue.add(metaConstraint.getDescriptor());
    }

    return theValue;
  }