3 ms·
The type kotlin generated from java code also inserts nullable specifier if java code have @NonNull or @Nullable specified. When kotlin see these exist. It wil
by mmis1000 2y ago
The type kotlin generated from java code also inserts nullable specifier if java code have @NonNull or @Nullable specified.
When kotlin see these exist. It will convert the type to null enforced type instead. Which give you a tool to gradually convert you project to null enforced type if you can't convert it to kotlin at once.