List<LanguageLevel> () { List<LanguageLevel> result = new ArrayList<>(); for (String version : ourVersions) { if (SUPPORTED_IN_SETTINGS.contains(version)) { LanguageLevel level = LanguageLevel.fromPythonVersion(version); result.add(level); } } return result; }