public void doDownload(@NotNull SdkDownload downloadExtension,
                         @NotNull JComponent parent,
                         @Nullable Sdk selectedSdk,
                         @NotNull SdkType type,
                         @NotNull java.util.function.Consumer<? super Sdk> callback) {
    LOG.assertTrue(downloadExtension.supportsDownload(type));
    myModified = true;

    downloadExtension.showDownloadUI(type, this, parent, null, selectedSdk, null, sdk -> setupInstallableSdk(type, sdk, callback));
  }
public void doDownload(@NotNull SdkDownload downloadExtension,
                         @NotNull JComponent parent,
                         @Nullable Sdk selectedSdk,
                         @NotNull SdkType type,
                         @NotNull java.util.function.Consumer<? super Sdk> callback)