title: intellij plugin using TreeClassChooserFactory not show recommended class?
body: <p>I'm writing a intellij plugin to let people choose a class, I find the code the move method in intellij open source code.</p>
  
  <p>The move method picture is like this which will show all project class.
  <a href="https://i.stack.imgur.com/X0DTC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X0DTC.png" alt="enter image description here"></a></p>
  
  <p>but when I using the following code the pic is this
  <a href="https://i.stack.imgur.com/iOLOL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iOLOL.png" alt="enter image description here"></a></p>
  
  <p>There is no recommend class, after I type some text, still nothing.</p>
  
  <pre><code>TreeClassChooser chooser = TreeClassChooserFactory.getInstance(myProject).createWithInnerClassesScopeChooser(
                          "choose serviceClass", GlobalSearchScope.projectScope(myProject), new ClassFilter() {
                              public boolean isAccepted(PsiClass aClass) {
                                  return aClass.getParent() instanceof PsiFile &amp;&amp; !aClass.isInterface();
                              }
                          }, srcClass);
                  chooser.selectDirectory(pojoClass.getContainingFile().getContainingDirectory());
                  chooser.showDialog();
  </code></pre>