private static @Nullable MethodInvocator getTabbingModeInvocator() {
    if ((ExperimentalUI.isNewUI() && !Registry.is("ide.mac.os.wintabs.version2", true)) ||
        !SystemInfo.isJetBrainsJvm ||
        !SystemInfo.isMacOSBigSur ||
        !Registry.is("ide.mac.bigsur.window.with.tabs.enabled", true)) {
      if (SystemInfoRt.isMac) {
        LOG.info("=== TabbingMode: disabled (" +
                 SystemInfo.isJetBrainsJvm + "," +
                 SystemInfo.isMacOSBigSur + "," +
                 Registry.is("ide.mac.bigsur.window.with.tabs.enabled") + "," +
                 ExperimentalUI.isNewUI() +
                 Registry.is("ide.mac.os.wintabs.version2") + ") ===");
      }
      return null;
    }
    if (mySetTabbingMode == null) {
      try {
        mySetTabbingMode = new MethodInvocator(false, Class.forName("java.awt.Window"), "setTabbingMode");
        if (mySetTabbingMode.isAvailable()) {
          LOG.info("=== TabbingMode: available ===");
          return mySetTabbingMode;
        }
      }
      catch (ClassNotFoundException e) {
        LOG.error(e);
      }
      LOG.info("=== TabbingMode: not available ===");
      return null;
    }
    return mySetTabbingMode.isAvailable() ? mySetTabbingMode : null;
  }
private static @Nullable MethodInvocator getTabbingModeInvocator()