protected static Sdk createSdkOfType(@NotNull SdkModel sdkModel,
                                       @NotNull SdkType sdkType,
                                       @NotNull Consumer<? super Sdk> sdkCreatedCallback) {
    final Ref<Sdk> result = new Ref<>(null);
    SdkConfigurationUtil.selectSdkHome(sdkType, home -> {
      final Sdk newSdk = SdkConfigurationUtil.createSdk(Arrays.asList(sdkModel.getSdks()), home, sdkType, null, null);

      sdkCreatedCallback.consume(newSdk);
      result.set(newSdk);
    });
    return result.get();
  }
protected static Sdk createSdkOfType(@NotNull SdkModel sdkModel,
                                       @NotNull SdkType sdkType,
                                       @NotNull Consumer<? super Sdk> sdkCreatedCallback)