boolean (@Nullable String typeName, @NotNull LanguageLevel level) { return PsiKeyword.VAR.equals(typeName) && HighlightingFeature.LVTI.isSufficient(level) || PsiKeyword.YIELD.equals(typeName) && HighlightingFeature.SWITCH_EXPRESSION.isSufficient(level) || PsiKeyword.RECORD.equals(typeName) && HighlightingFeature.RECORDS.isSufficient(level) || (PsiKeyword.SEALED.equals(typeName) || PsiKeyword.PERMITS.equals(typeName)) && HighlightingFeature.SEALED_CLASSES.isSufficient(level); }