artem_zin
07/04/2016, 8:13 AMlateinit
doesn’t change underlying java type of the field and allows writing null
to the var
+ compiler adds null
check before access. Delegates.notNull()
wraps field into Delegate
type and forbids writing null
to it.