don't use walking visitor in Analyze Dependencies (IDEA-CR-21986)

because it can't handle cls PSI
This commit is contained in:
peter
2017-06-20 14:43:09 +02:00
parent 6fbb53c80e
commit f8af0caa2c
@@ -27,7 +27,7 @@ public class JavaDependencyVisitorFactory extends DependencyVisitorFactory {
return new MyVisitor(processor, options);
}
private static class MyVisitor extends JavaRecursiveElementWalkingVisitor {
private static class MyVisitor extends JavaRecursiveElementVisitor {
private final DependenciesBuilder.DependencyProcessor myProcessor;
private final VisitorOptions myOptions;