public void addObjectStoreCoordinator(EOObjectStoreCoordinator osc) {
private void addObjectStoreCoordinator(EOObjectStoreCoordinator osc) { if (!(osc instanceof ObjectStoreCoordinator)) { throw new RuntimeException("cannot add "+osc+" because its not an instanceof ObjectStoreCoordinator"); }
        public void addObjectStoreCoordinator(EOObjectStoreCoordinator osc) {            oscs.addObject(osc);            NSSelector sel = new NSSelector("publishChange", new Class[] { NSNotification.class } );            NSNotificationCenter.defaultCenter().addObserver(                                                             this,                                                             sel,                                                             EOObjectStoreCoordinator.ObjectsChangedInStoreNotification,                                                             osc);        }