I discovered this on latest Kotlin version (0.5.782). If you include this annotation to your project, you have to fix all those method overrides from Android classes that contains nullable types in the parameters.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Annotating Java API with @NotNull to be "Kotlin Friendly" (preferably at type level rather than method level) | 5 | 9099 | June 26, 2018 | |
|
Override SDK annotations
|
1 | 1365 | August 22, 2013 | |
|
General Android/Kotlin discussions and tools
|
2 | 893 | July 31, 2014 | |
| Custom Null-Safety annotation is invalid in kotlin | 0 | 725 | September 8, 2020 | |
|
Best practice for annotating java methods that potentially return null (@Nullable on java method seems to be ignored?)
|
4 | 4469 | July 21, 2015 |