void (MouseEvent e, PsiElement element) { PsiElement parent = getParentMethod(element); if (!(parent instanceof PsiMethod method)) return; navigateToOverridingMethod(e, method, method != element.getParent()); }