676ffff015
In codegen tests on Android, everything is being run with kotlin-reflect in the classpath. So a package is no longer represented by a reflect-less PackageReference, but by a full-blown KPackageImpl. Use a less specific supertype ClassBasedDeclarationContainer instead, the one which is a supertype of both PackageReference and KPackageImpl, and which still allows to get the underlying jClass.