Sdk (@NotNull UnknownSdk unknownSdk, @NotNull Supplier<@NotNull String> suggestedSdkName) { var actualSdkName = unknownSdk.getSdkName(); if (actualSdkName == null) { actualSdkName = suggestedSdkName.get(); } ProjectJdkTable jdkTable = ProjectJdkTable.getInstance(); actualSdkName = SdkConfigurationUtil.createUniqueSdkName(actualSdkName, List.of(jdkTable.getAllJdks())); return jdkTable.createSdk(actualSdkName, unknownSdk.getSdkType()); }