<@U10EJRH2L> but it allows you to use Java types a...
# announcements
a
@Ruckus but it allows you to use Java types as well, which does present a risk for nullable types
r
I think it's basically discouraged to use any Java type that is married to a Kotlin type by the compiler, but it's just discouraged, not banned, so if you need to, go for it.
👍 1
g
But in 99% of cases when you want to use Java Integer you doing something wrong. Just because Kotlin Int will be compiled to Java's primitive
int
or boxed
Integer