List<PythonSdkFlavor> (boolean isWindows) { List<PythonSdkFlavor> result = new ArrayList<>(); if (isWindows) { result.add(WinPythonSdkFlavor.getInstance()); } else { result.add(UnixPythonSdkFlavor.getInstance()); } result.addAll(PythonSdkFlavor.getPlatformIndependentFlavors()); return result; }