boolean (PsiMember classMember) { if(!(classMember instanceof PsiMethod method)) return false; for (PsiMethod delegatedMethod : myDelegatedMethods) { //methods reside in base class, so no substitutor needed if (MethodSignatureUtil.areSignaturesEqual(method.getSignature(PsiSubstitutor.EMPTY), delegatedMethod.getSignature(PsiSubstitutor.EMPTY))) { return true; } } return false; }