boolean (@NotNull PsiClass expectedQualifierClass, @NotNull PsiClass receiverClass) { return InheritanceUtil.isInheritorOrSelf(expectedQualifierClass, receiverClass, true) || InheritanceUtil.isInheritorOrSelf(receiverClass, expectedQualifierClass, true); }