ID ( String uid, int itemWidth, NSTLibrary.ScrubberDelegate delegate, NSTLibrary.ScrubberCacheUpdater updater, @NotNull List<TBItemScrubber.ItemData> items, int visibleItems, @Nullable TouchBarStats stats ) { final Pair<Pointer, Integer> mem = _packItems(items, visibleItems, false, true); return nstLibrary.createScrubber(uid, itemWidth, delegate, updater, mem == null ? null : mem.getFirst(), mem == null ? 0 : mem.getSecond()); // called from AppKit, uses per-event autorelease-pool }