Replacement for PsiSearchHelper deprecated findReferences method?
My plugin uses PsiSearchHelper's findReferences(PsiElement, SearchScope, boolean) method to find references to a field within a class. However, this method has been deprecated and I can't find a suitable replacement in PsiSearchHelper.
Any suggestions?
Please sign in to leave a comment.
Hello Gordon,
Use the ReferencesSearch class.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Ah, thanks. It helps if I install the dev package for the Javadoc ;)