PsiElementVisitor (@NotNull PsiFile file, @NotNull DependenciesBuilder.DependencyProcessor processor, @NotNull VisitorOptions options) { DependencyVisitorFactory factory = EP_NAME.forLanguage(file.getLanguage()); return factory != null ? factory.getVisitor(processor, options) : new DefaultVisitor(processor); }