PsiElementVisitor (@NotNull ProblemsHolder holder, boolean isOnTheFly) { return new PsiElementVisitor() { @Override public void visitPlainText(@NotNull PsiPlainText content) { report(content, holder); } }; }