Kotlin 编译器从 @Nullable
插入 @NotNull
和 org.jetbrains.annotations
,是否也可以插入 javax.validation.constraints.NotNull
?
最佳答案
不,目前没有这样的编译器插件可用。
这是可用的编译器插件列表:
https://kotlinlang.org/docs/reference/compiler-plugins.html
关于Kotlin 和 javax.validation.constraints.NotNull,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45798898/