boolean (@NotNull PsiClass psiClass, @NotNull PsiJavaModule javaModule) { String packageName = getPublicApiPackageName(psiClass); return packageName != null && getExportedPackageNames(javaModule).contains(packageName); }