error-prone
https://github.com/google/error-prone
Java
Catch common Java mistakes as compile-time errors
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported23 Subscribers
Add a CodeTriage badge to error-prone
Help out
- Issues
- Add `ValueClassEquals` to require non-record concrete `value` classes to override `equals` and `hashCode`
- Add `SingleValueTestParameter` check to inline single-value `@TestParameter` parameters as local variables.
- InvalidSnippet: don't flag external snippets that use the `class` attribute
- Bump the dependencies group across 1 directory with 4 updates
- InvalidSnippet incorrectly flags external snippets using the class attribute
- DistinctVarargsChecker flags incorrectly on Mockito stubbings
- [IfChainToSwitch] [RefactorSwitch] share the dead-code deletion in `IfChainToSwitch` and `RefactorSwitch`
- Fix handling of parenthesized literals in InlineTrivialConstant
- ASTHelpers.getSymbol returns null for a parenthesized expression, while javac's TreeInfo.symbol returns the symbol inside
- Checks that read the parent of an expression see the ParenthesizedTree around it, and ASTHelpers has no method to skip it
- Docs
- Java not yet supported