@MarshalsPointer public static NSPersistentStoreCoordinatorChangeNotification toObject(Class<NSPersistentStoreCoordinatorChangeNotification> cls, long handle, long flags) { NSDictionary o = (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new NSPersistentStoreCoordinatorChangeNotification(o); } @MarshalsPointer
@MarshalsPointer public static List<NSPersistentStoreCoordinatorChangeNotification> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSDictionary> o = (NSArray<NSDictionary>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<NSPersistentStoreCoordinatorChangeNotification> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new NSPersistentStoreCoordinatorChangeNotification(o.get(i))); } return list; } @MarshalsPointer
@Override public void invoke(NSNotification a) { NSDictionary<?, ?> userInfo = a.getUserInfo(); NSPersistentStoreCoordinatorChangeNotification data = null; if (userInfo != null) { data = new NSPersistentStoreCoordinatorChangeNotification(userInfo); } block.invoke((NSPersistentStoreCoordinator)a.getObject(), data); } });
@Override public void invoke(NSNotification a) { NSDictionary<?, ?> userInfo = a.getUserInfo(); NSPersistentStoreCoordinatorChangeNotification data = null; if (userInfo != null) { data = new NSPersistentStoreCoordinatorChangeNotification(userInfo); } block.invoke((NSPersistentStoreCoordinator)a.getObject(), data); } });
@MarshalsPointer public static NSPersistentStoreCoordinatorChangeNotification toObject(Class<NSPersistentStoreCoordinatorChangeNotification> cls, long handle, long flags) { NSDictionary o = (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new NSPersistentStoreCoordinatorChangeNotification(o); } @MarshalsPointer
@MarshalsPointer public static NSPersistentStoreCoordinatorChangeNotification toObject(Class<NSPersistentStoreCoordinatorChangeNotification> cls, long handle, long flags) { NSDictionary o = (NSDictionary) NSObject.Marshaler.toObject(NSDictionary.class, handle, flags); if (o == null) { return null; } return new NSPersistentStoreCoordinatorChangeNotification(o); } @MarshalsPointer
@MarshalsPointer public static List<NSPersistentStoreCoordinatorChangeNotification> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSDictionary> o = (NSArray<NSDictionary>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<NSPersistentStoreCoordinatorChangeNotification> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new NSPersistentStoreCoordinatorChangeNotification(o.get(i))); } return list; } @MarshalsPointer
@MarshalsPointer public static List<NSPersistentStoreCoordinatorChangeNotification> toObject(Class<? extends NSObject> cls, long handle, long flags) { NSArray<NSDictionary> o = (NSArray<NSDictionary>) NSObject.Marshaler.toObject(NSArray.class, handle, flags); if (o == null) { return null; } List<NSPersistentStoreCoordinatorChangeNotification> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new NSPersistentStoreCoordinatorChangeNotification(o.get(i))); } return list; } @MarshalsPointer
@Override public void invoke(NSNotification a) { NSDictionary<?, ?> userInfo = a.getUserInfo(); NSPersistentStoreCoordinatorChangeNotification data = null; if (userInfo != null) { data = new NSPersistentStoreCoordinatorChangeNotification(userInfo); } block.invoke((NSPersistentStoreCoordinator)a.getObject(), data); } });
@Override public void invoke(NSNotification a) { NSDictionary<?, ?> userInfo = a.getUserInfo(); NSPersistentStoreCoordinatorChangeNotification data = null; if (userInfo != null) { data = new NSPersistentStoreCoordinatorChangeNotification(userInfo); } block.invoke((NSPersistentStoreCoordinator)a.getObject(), data); } });
@Override public void invoke(NSNotification a) { NSDictionary<?, ?> userInfo = a.getUserInfo(); NSPersistentStoreCoordinatorChangeNotification data = null; if (userInfo != null) { data = new NSPersistentStoreCoordinatorChangeNotification(userInfo); } block.invoke((NSPersistentStoreCoordinator)a.getObject(), data); } });
@Override public void invoke(NSNotification a) { NSDictionary<?, ?> userInfo = a.getUserInfo(); NSPersistentStoreCoordinatorChangeNotification data = null; if (userInfo != null) { data = new NSPersistentStoreCoordinatorChangeNotification(userInfo); } block.invoke((NSPersistentStoreCoordinator)a.getObject(), data); } });