artem_zin
08/25/2016, 10:38 PM@NonNull User) so you have two options:
1. Use null and make it @Nullable .
2. Add User.NULL which can require same changes to types used in User fields.
Good thing is that in Kotlin we have sealed classes which solves that more easily and in a more typesafe manner.