boolean (@NotNull PsiClass aClass, @Nullable PsiClass containingClass) { if (containingClass == null) return false; return aClass.equals(containingClass) || aClass.isInheritor(containingClass, true); }