Member predicate Module::getPackage

Gets the package containing this module (or parent package if this is a package)

Module getPackage()