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
- Cloned from CL 983128976 by 'hg patch'.
- VarWithPrimitive crash on OpenJDK 27 for lambda with primitive parameter
- Add `-XepMaxWarnings:N` to fail a compilation that reports more than N warnings
- CompilationTestHelper: a failure cannot say which of several identical cases lost its diagnostic
- CompilationTestHelper: what a failing line expected and what it got are printed in different parts of the message
- Show the source line of a marked line whose expected diagnostic is missing
- No way to mark a type whose equals() is the wrong comparison, so ReferenceEquality suggests the buggy fix
- MisformattedTestData suggested fix wraps long `// BUG: Diagnostic contains: ` lines
- [MisformattedTestData] avoid re-formatting diagnostic message comments
- [IfChainToSwitch] improve comment handling with `else` blocks
- Docs
- Java not yet supported