void (@NotNull MultiMap<String, PsiElement> keyValueAndKeys, LocalQuickFix @NotNull ... quickFixes) { for (Map.Entry<String, Collection<PsiElement>> entry : keyValueAndKeys.entrySet()) { final @NlsSafe String keyValue = entry.getKey(); final Collection<PsiElement> keys = entry.getValue(); if (keys.size() > 1) { for (PsiElement key : keys) { String unquotedKey = unwrapStringKey(keyValue); registerProblem(key, PyPsiBundle.message("INSP.duplicate.keys.dictionary.contains.duplicate.keys", unquotedKey), quickFixes); } } } }