@MarshalsPointer public static List<CIContextOptions> 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<CIContextOptions> list = new ArrayList<>(); for (int i = 0; i < o.size(); i++) { list.add(new CIContextOptions(o.get(i))); } return list; }