boolean (PsiMember member) { if (!(member instanceof PsiMethod)) return false; if (member.hasModifierProperty(PsiModifier.PRIVATE) || (member.hasModifierProperty(PsiModifier.ABSTRACT) && member.getContainingClass() != clazz)) { return false; } return true; }