Changes:
- Add new matcher interfaces to
ErrorProneScanner
for AST nodes introduced after Java 11 (e5fd194) - Fix compatibility with latest JDK 24 EA builds (d67bc15)
- Check that
--should-stop=ifError=FLOW
is set when using the-Xplugin
integration (e71db1f)
New checks:
DuplicateBranches
: Discourage conditional expressions and if statements where both branches are the sameRedundantControlFlow
: Reports redundantcontinue
statements.