PsiElementVisitor (final @NotNull ProblemsHolder holder, boolean isOnTheFly) { if (!JsonDialectUtil.isStandardJson(holder.getFile())) return PsiElementVisitor.EMPTY_VISITOR; return new StandardJsonValidatingElementVisitor(holder); }