Returns the name of the top level package for a given (sub) package name of format "basePackageName" or "basePackageName:subPackageName".
In case of a top level package, the qualified name is returned unmodified.
See Implementation
Returns the name of the top level package for a given (sub) package name of format "basePackageName" or "basePackageName:subPackageName".
In case of a top level package, the qualified name is returned unmodified.