synchronized
  @NotNull ID createNativePeer() {
    // called from AppKit (when NSTouchBarDelegate create items)
    if (myNativePeer == ID.NIL)
      myNativePeer = _createNativePeer();
    return myNativePeer;
  }
synchronized
  @NotNull ID createNativePeer()