BPP-10667 PrivatePackageDetector allows indirect inheritance of @PackagePrivate class