https://kotlinlang.org logo
#announcements
Title
# announcements
t

trevjones

11/13/2017, 5:13 PM
::class.java
is a compile time constant
s

snrostov

11/13/2017, 8:27 PM
For me
x::class.java
is compiled to
INVOKEVIRTUAL java/lang/Object.getClass ()Ljava/lang/Class;
Looks like
::class.java
is fully equivalent to
.javaClass
t

trevjones

11/13/2017, 8:50 PM
probably depends on context
5 Views