boolean (PsiMethod method) { final Iterable<PsiMethod> overridingMethods = SearchUtils.findOverridingMethods(method); if(overridingMethods.iterator().hasNext()) { return true; } final PsiMethod[] superMethods = method.findSuperMethods(); return superMethods.length!=0; }