boolean (PsiElement member) { if (!(member instanceof PsiMember)) return false; if (InheritanceUtil.isInheritorOrSelf(mySuper, ((PsiMember)member).getContainingClass(), true)) return true; if (member instanceof PsiField) { final PsiClass containingClass = ((PsiField) member).getContainingClass(); if (PsiUtil.isArrayClass(containingClass)) { return true; } } else if (member instanceof PsiMethod) { return mySuper.findMethodBySignature((PsiMethod) member, true) != null; } return false; }