Collection<PsiClass> (PsiClass psiClass) { if (psiClass instanceof PsiAnonymousClass || psiClass.hasModifierProperty(PsiModifier.FINAL)) { return Collections.emptyList(); } SearchScope searchScope = getSearchScope(myScopeType, psiClass); return ClassInheritorsSearch.search(psiClass, searchScope, false).findAll(); }