boolean () { if (!JBR.isRoundedCornersManagerSupported()) { return false; } if (!ExperimentalUI.isNewUI() || !Registry.is("ide.popup.rounded.corners", true)) { return false; } if (SystemInfoRt.isWindows) { Long buildNumber = SystemInfo.getWinBuildNumber(); return buildNumber != null && buildNumber.longValue() >= 22000; // Windows 11 only } return true; }