void (@NotNull Predicate<LanguageLevel> levelPredicate, @NotNull @Nls String suffix, @NotNull PsiElement node, @NotNull TextRange range, boolean asError, LocalQuickFix @NotNull ... fixes) { final List<LanguageLevel> levels = ContainerUtil.filter(myVersionsToProcess, levelPredicate::test); if (!levels.isEmpty()) { @NlsSafe String versions = StringUtil.join(levels,", "); @InspectionMessage String message = PyPsiBundle.message("INSP.compatibility.inspection.unsupported.feature.prefix", levels.size(), versions, suffix); registerProblem(node, range, message, asError, fixes); } }