[
https://issues.apache.org/jira/browse/LANG-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751797#comment-17751797
]
Jens Dietrich commented on LANG-1598:
-------------------------------------
A quick update. Our
[tool|https://github.com/jensdietrich/null-annotation-inference] has been used
successfully on a few projects, resulting in the addition of annotations in
guava ([https://github.com/google/guava/issues/6510] ) and spring
([https://github.com/spring-projects/spring-framework/pull/29150]) , with an
additional issue still open in errorprone
([https://github.com/google/error-prone/issues/3792]) . A paper published at
ECOOP'23 describing the algorithm can be found here:
[https://drops.dagstuhl.de/opus/volltexte/2023/18203/pdf/LIPIcs-ECOOP-2023-10.pdf]
.
> Use JSR-305 (javax.annotation) for Null-Analysis to avoid unexpected
> NullPointerExceptions
> ------------------------------------------------------------------------------------------
>
> Key: LANG-1598
> URL: https://issues.apache.org/jira/browse/LANG-1598
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Affects Versions: 3.11
> Reporter: Alexander Guril
> Priority: Major
> Labels: newbie
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Use the javax.annotation-API for Null-Analysis to avoid NPEs.
> {code:XML}
> <!-- https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305 -->
> <dependency>
> <groupId>com.google.code.findbugs</groupId>
> <artifactId>jsr305</artifactId>
> <version>3.0.2</version>
> </dependency>
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)