Hacker News new | ask | show | jobs
by xenomachina 2382 days ago
For a long time I've wanted a sort of "local deprecation" tool where we could have a list of things in the JDK that shouldn't be used, and any direct reference to them would cause our build to fail.
2 comments

https://errorprone.info/ can be configured to look at the AST and warn or reject a lot of specific problems.