google/error-prone
View on GitHub ↗ ★ 7,266 Java
Catch common Java mistakes as compile-time errors
9 mentions on Hacker News by 9 people: 0 stories, 9 comments · first 2016-11-06 · latest 2025-05-07
20082026
-
…this piece would go was to expand on the idea of error-prone[1] and apply it to the runtime. https://github.com/google/error-prone
comment by recroad · 2025-05-07 · in Using tests as a debugging tool for logic errors -
- It doesn't work with ErrorProne ( https://github.com/google/error-prone/issues?q=sort%3Aupdate... ) - you need a special plugin in your IDE for the generated classes to be visible and/or the code to be parsable - it does not work with…
comment by JanecekPetr · 2025-04-01 · in JEP draft: Prepare to make final mean final -
…projects: - https://fbinfer.com/ (<- This one was a breakthrough in static analysis in its time) - https://github.com/google/error-prone - https://github.com/facebook/SPARTA And many others
comment by solomatov · 2022-10-13 · in Prusti: Static Analyzer for Rust -
…there are compiler extensions that allow extra type checking to be added e.g. Google Error-Prone: https://github.com/google/error-prone with stuff like: https://errorprone.info/bugpattern/ReturnMissingNullable . Doesn't help you with third…
comment by CHY872 · 2022-06-14 · in What I miss in Java, the perspective of a Kotlin developer -
ErrorProne has a nice safeguard against this if you're writing Java code: https://github.com/google/error-prone/blob/master/docs/bugpa... It detects if your function signature is > foo(first, second) and you call it with > foo(second,…
comment by jdm2212 · 2019-09-27 · in Be wary of functions which take several parameters of the same type -
Error Prone is not internal: https://github.com/google/error-prone
comment by sanxiyn · 2018-04-30 · in Lessons from Building Static Analysis Tools at Google -
Google's ErrorProne, https://github.com/google/error-prone/tree/master/core/src/m... Bill Pugh's FindBugs, http://findbugs.sourceforge.net/bugDescriptions.html
comment by nurblieh · 2017-03-29 · in Thread Safety Analysis in Clang -
…its own API for compiler plugins, with those being the checks, very much akin to APT. See https://github.com/google/error-prone/blob/master/core/src/m... for the entry-point. I'm very close to getting out of my depth here though :)
comment by Seol · 2016-11-06 · in FindBugs project in its current form is dead -
Google error-prone is a good alternative to FindBugs: https://github.com/google/error-prone http://errorprone.info/bugpatterns Pros: * has faster cycle times and integrates into compilation workflow * emits fewer false positives * active…
comment by gaul · 2016-11-06 · in FindBugs project in its current form is dead