Replacement for PsiSearchHelper.findAllClasses()

I have some old custom language plugin code (written for IDEA 7) which uses PsiSearchHelper.findAllClasses() to get a list of all classes in the current resolve scope to return from getVariants() in a reference element. However, findAllClasses doesn't exist anymore in IDEA 10. What would be a suitable replacement?

0
2 comments

Hello Gordon,

AllClassesSearch.search() is the replacement API.

I have some old custom language plugin code (written for IDEA 7) which
uses PsiSearchHelper.findAllClasses() to get a list of all classes in
the current resolve scope to return from getVariants() in a reference
element. However, findAllClasses doesn't exist anymore in IDEA 10.
What would be a suitable replacement?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thanks!

0

Please sign in to leave a comment.