packageName

val KClass<*>.packageName: String

Return

The package name of the underlying class that KClass represents.

Throws

when the package name cannot be accessed.