@NotNull
 public PsiElementVisitor buildVisitor(
     @NotNull ProblemsHolder holder,
     boolean isOnTheFly,
     @NotNull final LocalInspectionToolSession session) {
   session.putUserData(LARGE_FUNCTIONS_KEY, new HashSet<ScopeOwner>());
   return new Visitor(holder, session);
 }