Annotation

@NonNull /aaacarrot/p/17025725.html import org.springframework.lang.NonNull; 编译时不检查,在程序运行时被赋值null,提前报错,而不是执行无用代码,到用到的时候再报错。 @Sn
posted @ 2024-07-05 10:44  A-P-I  阅读(1)  评论(0编辑  收藏  举报