@NotNull
  private Sdk runWithEvents() {
    ThreadingAssertions.assertEventDispatchThread();

    Listener multicaster = getMulticaster();
    try {
      var sdk = applyLocalFix();
      multicaster.onSdkNameResolved(sdk);
      multicaster.onSdkResolved(sdk);
      return sdk;
    }
    catch (Throwable t) {
      multicaster.onResolveFailed();
      throw t;
    }
  }
@NotNull
  private Sdk runWithEvents()