Find super of PsiMethod
Hi
If I have a PsiMethod, how can I get to the PsiMethod that it overrides (in case it does)?
For example, if I have the PsiMethod that represents
how can I get a reference to the PsiMethod that represents
It would be great if somebody could give me some hints on how to approach such class/method browsing, or point me to the involved OpenAPI classes. Thanks in advance.
--Etienne
请先登录再写评论。
Look at the findSuperMethod methods and the findDeepestSuperMethod method in the PsiMethod interface.
Bas
I searched the OpenAPI classes but never the PsiMethod API itself... Thanks for your hint!
--Etienne