PsiMethod (PsiClass currentSuperClass, PsiMethod element) { final PsiSubstitutor superSubstitutor = TypeConversionUtil.getSuperClassSubstitutor(currentSuperClass, getPsiClass(), PsiSubstitutor.EMPTY); final MethodSignature signature = element.getSignature(superSubstitutor); return MethodSignatureUtil.findMethodBySignature(currentSuperClass, signature, false); }