void (@NotNull PyDictLiteralExpression node) { if (node.isEmpty()) return; final MultiMap<String, PsiElement> keyValueAndKeys = new MultiMap<>(); for (PyKeyValueExpression element : node.getElements()) { final Pair<PsiElement, String> keyAndValue = getDictLiteralKey(element); if (keyAndValue != null) { keyValueAndKeys.putValue(keyAndValue.second, keyAndValue.first); } } registerProblems(keyValueAndKeys, new PyRemoveDictKeyQuickFix()); }