((ERXModelGroup)eomodelgroup).checkInheritanceRelationships();
    public static EOModelGroup modelGroupForLoadedBundles() {        EOModelGroup eomodelgroup = new ERXModelGroup();        NSArray nsarray = NSBundle.frameworkBundles();        int i = nsarray.count() + 1;        NSMutableArray nsmutablearray = new NSMutableArray(i);        nsmutablearray.addObject(NSBundle.mainBundle());        nsmutablearray.addObjectsFromArray(nsarray);        for (int i6 = 0; i6 < i; i6++) {            NSBundle nsbundle = (NSBundle) nsmutablearray.objectAtIndex(i6);            NSArray nsarray7 = nsbundle.pathsForResources("eomodeld", null);            int i8 = nsarray7.count();            for (int i9 = 0; i9 < i8; i9++) {                String string = (String) nsarray7.objectAtIndex(i9);                String string10                    = (NSPathUtilities.stringByDeletingPathExtension                       (NSPathUtilities.lastPathComponent(string)));                EOModel eomodel = eomodelgroup.modelNamed(string10);                if (eomodel == null)                    eomodelgroup.addModelWithPath(string);                else if (NSLog.debugLoggingAllowedForLevelAndGroups(1, 32768L))                    NSLog.debug.appendln                        ("Ignoring model at path \"" + string                         + "\" because the model group " + eomodelgroup                         + " already contains the model from the path \""                         + eomodel.path() + "\"");            }        }        return eomodelgroup;    }