Пример #1
0
 @MarshalsPointer
 public static List<CTFrameClippingPath> toObject(
     Class<? extends CFType> cls, long handle, long flags) {
   CFArray o = (CFArray) CFType.Marshaler.toObject(cls, handle, flags);
   if (o == null) {
     return null;
   }
   List<CTFrameClippingPath> list = new ArrayList<>();
   for (int i = 0; i < o.size(); i++) {
     list.add(new CTFrameClippingPath(o.get(i, CFDictionary.class)));
   }
   return list;
 }