PsiElementVisitor (@NotNull final ProblemsHolder holder, boolean isOnTheFly) { DeprecatedApiUsageProcessor processor = new DeprecatedApiUsageProcessor(holder, false, false, false, false, IGNORE_IN_SAME_OUTERMOST_CLASS, true); return new UastVisitorAdapter(new ApiUsageUastVisitor(processor), true); }