<@U7L3827SM> I reread the manual page on Extension...
# getting-started
s
@Jeff Thomas I reread the manual page on Extensions out of curiosity, and if you really want that
Foo::class.packageName
syntax exactly, you could define an extension property with a custom getter -
Copy code
val <T: Any> KClass<T>.packageName: String
  get() = this.java.`package`.name
maybe if you’re feeling fancy 😛