and you can only `Foo.javaClass` if it has a compa...
# announcements
t
and you can only
Foo.javaClass
if it has a companion object
l
Foo.javaClass
on the Companion object IS NOT THE SAME as
Foo::class.java
.
fooInstance.javaClass
is the same as
Foo::class.java
though. For Companion objects,
Foo.javaClass
is the same as
Foo.Companion::class.java
.
t
yes of course. although what I said was less than explicitly clear about that detail