LanguageLevel (@NotNull Project project) { LanguageLevelProjectExtension instance = LanguageLevelProjectExtension.getInstance(project); return instance != null ? instance.getLanguageLevel() : LanguageLevel.HIGHEST; }