protected static void visitKeys(MultiMap<String, PsiElement> keys, boolean isSchemaFile, @NotNull ProblemsHolder holder) {
    for (Map.Entry<String, Collection<PsiElement>> entry : keys.entrySet()) {
      final Collection<PsiElement> sameNamedKeys = entry.getValue();
      final String entryKey = entry.getKey();
      if (sameNamedKeys.size() > 1 && (!isSchemaFile || !COMMENT.equalsIgnoreCase(entryKey))) {
        for (PsiElement element : sameNamedKeys) {
          holder.registerProblem(element, JsonBundle.message("inspection.duplicate.keys.msg.duplicate.keys", entryKey),
                                 getNavigateToDuplicatesFix(sameNamedKeys, element, entryKey));
        }
      }
    }
  }
protected static void visitKeys(MultiMap<String, PsiElement> keys, boolean isSchemaFile, @NotNull ProblemsHolder holder)