private Set<MetaConstraint<?>> getClassLevelConstraints(Set<MetaConstraint<?>> constraints) { Set<MetaConstraint<?>> classLevelConstraints = partition( constraints, byElementType() ).get( ElementType.TYPE ); return classLevelConstraints != null ? classLevelConstraints : Collections.<MetaConstraint<?>>emptySet(); }
Map<ConstraintType, List<ConstraintDescriptorImpl<?>>> executableConstraints = partition( findConstraints( executable.getMember(),