Sdk (@Nullable String jdkName, @NotNull String homePath) { SdkType javaSdk = getJavaSdkType(); String sdkName = jdkName != null ? jdkName : javaSdk.suggestSdkName(null, homePath); return ((JavaSdk)javaSdk).createJdk(sdkName, homePath, !JdkUtil.checkForJdk(homePath)); }