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

2 comments

Look at the findSuperMethod methods and the findDeepestSuperMethod method in the PsiMethod interface.

Bas

0

I searched the OpenAPI classes but never the PsiMethod API itself... Thanks for your hint!

--Etienne

0

Please sign in to leave a comment.