PsiElementVisitor (@NotNull ProblemsHolder holder, boolean isOnTheFly) { @SuppressWarnings("unchecked") Class<? extends UElement>[] hint = new Class[]{UMethod.class, ULambdaExpression.class}; return UastHintedVisitorAdapter.create(holder.getFile().getLanguage(), new MissingAccessibleContextVisitor(holder), hint); }