Psi changes Permanently deleted user 创建于 2006年02月07日 22:10 What alternative to use to get all references of a PsiVariable (currently psiSearchHelper.findReferences(variable, variable.getUseScope(), false))?What alternatives exist for PsiSuperMethodUtil.findSuperMethods()?Thanks,Tom
Tom wrote:
com.intellij.psi.search.searches.ReferencesSearch.search(...).findAll()
SuperMethodsSearch.search(...).findAll()
Sascha
Thanks, Sascha.
>> What alternatives exist for PsiSuperMethodUtil.findSuperMethods()?
Unfortunately, search requires much more method parameters which I don't
know where to get from... is there some useful documentation available?
Tom wrote:
>> SuperMethodsSearch.search(...).findAll()
There's also PsiMethod.findSuperMethods() which is probably easier to use ;)
Sascha