artem_zin
05/26/2016, 3:58 PMlateinit var x: Boolean and var y by Delegates.nonNull<Boolean>()
Both are Boolean while you use them in Kotlin. But in Java x will be same type as declared in Kotlin and y will be ReadWriteProperty.
Is there a spec that lateinit should always be same type as target type?