PsiClass (@NlsContexts.DialogTitle String title, Project project) { TreeClassChooser dialog = TreeClassChooserFactory.getInstance(project).createAllProjectScopeChooser(title); dialog.showDialog(); return dialog.getSelected(); }