Re:Add detailed message to NullPointerException describing w...
by mrighele on Tuesday March 26, 2019 @02:24PM
(#19494614)
Checker framework [1] can be used to add compile time checks on such annotations. Unfortunately I found it non trivial to setup (that was some time ago though, I'll have to check again). I noticed also that a recent version of Wildfly application server can do those check at runtime, but I haven't investigated it enough to see if it is configurable and the performance impact of the checks
[1] https://checkerframework.org
[ Parent
| on HN ]
There are no comments on this comment yet.