gpt4 book ai didi

Kotlin 和 javax.validation.constraints.NotNull

转载 作者:行者123 更新时间:2023-12-02 12:28:50 25 4
gpt4 key购买 nike

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com