JSR 305 is a proposal for Annotations for Software Defect Detection. Meanwhile widely spread are the annotations like @Nonnull and @Nullable which you will also find in one of my favorite libraries: Guava – Google Core Libraries for Java 1.6+.
Reference:
[url]http://minds.coremedia.com/2012/10/31/jsr-305-nonnull-and-guava-preconditions/[/url]
Reference:
[url]http://minds.coremedia.com/2012/10/31/jsr-305-nonnull-and-guava-preconditions/[/url]
本文介绍JSR305提案,旨在通过软件缺陷检测注解改进代码质量。文中还讨论了@Nonnull和@Nullable等注解的实际应用,并提到了Guava——Google为Java1.6+提供的核心库。
522

被折叠的 条评论
为什么被折叠?



