String (@Nullable String currentSdkName, @NotNull String sdkHome) { JdkVersionDetector.JdkVersionInfo info = getInfo(sdkHome); if (info == null) return currentSdkName != null ? currentSdkName : ""; String vendorPrefix = Registry.is("use.jdk.vendor.in.suggested.jdk.name", true) ? info.variant.prefix : null; String name = JdkUtil.suggestJdkName(info.version, vendorPrefix); if (WslPath.isWslUncPath(sdkHome)) name += " (WSL)"; return name; }