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
- Flag Path.toFile() calls as WARNING
- Check for java.lang.reflect.Type.equals usage.
- GuardedBy check doesn't like incorrect class names
- Check for known reusable types being implicitly wasted.
- Use 'ThreadLocalRandom' instead of 'java.util.Random'
- Qualify `CannotMockFinalClass`
- Disallow extending Throwable
- False positive for FutureReturnValueIgnored on CompletableFuture.runAsync(...).exceptionally(...)
- Usage of Clock.systemDefaultZone() should not trigger [JavaTimeDefaultTimeZone]
- Bug Patterns page does not make clear first version on which each check is present
- Docs
- Java not yet supported