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 supported22 Subscribers
Add a CodeTriage badge to error-prone
Help out
- Issues
- CompileTimeConstant checks are bypassed depending on the reference type
- False positive: UnusedVariable for methods that unconditionally throw
- [Feature] namespace BugPatterns and allow wildcard/patterns
- [Feature] Allow *Inject* Patterns to take full path alternative annotations
- false FormatStringAnnotation errors after one unrelated legit error
- Allow "found raw type" to upgrade to an error - Do not allow raw types
- Fix minor typos in docs.
- @DoNotMock should support warningOnlyForRefactoring() similar to @RestrictedApi to ease migrations
- Request for BugChecker.checkSuppression to be initialized _after_ construction
- Switch from METADATA check to new ErrorProne checker to enforce not storing result of getToken()
- Docs
- Java not yet supported