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
- fix(UnusedVariable): skip synthetic fields with no explicit source position
- Detect EqualsUsingHashCode when hashCode results are stored in locals
- fix: detect DoubleCheckedLocking with !(x != null) outer guard
- Add `UnnecessarySubstring` for regions parsed via `Integer.parseInt`.
- Simplify JDK matrix:
- Add JUnit 5 support to JUnit-related bug patterns
- Fix FormatString false positive for switch expression arguments
- Lombok causes com.google.errorprone.SourcePositionException in UnusedVariable
- [false negative] DoubleCheckedLocking: not reported when the outer null check is written as !(x != null)
- AvoidCommonTypeNames false positives when using --release
- Docs
- Java not yet supported