Collection<PsiClass> (@NotNull PsiClass psiClass) { if (psiClass instanceof PsiExtensibleClass) { return ((PsiExtensibleClass) psiClass).getOwnInnerClasses(); } else { return filterPsiElements(psiClass, PsiClass.class); } }