PsiMethod (PsiMethod method, PsiClass aSuper) { for (PsiMethod superMethod : method.findDeepestSuperMethods()) { PsiMethod overridden = aSuper.findMethodBySignature(superMethod, false); if (overridden != null) return overridden; } return null; }