void setPrincipal(@NotNull TBItem item) {
    // NOTE: we can cache principal items to avoid unnecessary native calls
    synchronized (this) {
      NST.setPrincipal(myNativePeer, item.getUid());
    }
  }
void setPrincipal(@NotNull TBItem item)