// if we only have one mapping we can return the context of just this mapping
if ( mappings.size() == 1 ) {
return mappings.iterator().next().getAnnotationProcessingOptions();
}
AnnotationProcessingOptions options = new AnnotationProcessingOptionsImpl();
for ( DefaultConstraintMapping mapping : mappings ) {
options.merge( mapping.getAnnotationProcessingOptions() );
}
return options;
}