invoker = new FieldInvoker(CompassMappingBinding.class, "mapping").prepare();
CompassMapping mapping = (CompassMapping) invoker.get(mappingBinding);
ResourceMapping[] mappings = mapping.getRootMappings();
for (int i = 0; i < mappings.length; i++) {
ResourceMapping resourceMapping = mappings[i];
if (resourceMapping.getSpellCheck().equals(SpellCheck.INCLUDE)) {
return true;
}
for (Iterator iter = resourceMapping.mappingsIt(); iter.hasNext(); ) {
Object o = iter.next();
if (o instanceof ClassPropertyMapping) {
for (Iterator iter2 = ((ClassPropertyMapping) o).mappingsIt(); iter2.hasNext(); ) {
Object o2 = iter2.next();
if (o2 instanceof ClassPropertyMetaDataMapping) {