Hacker GitHub

← All repos

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

Mentions per year 9 mentions · busiest year 2016 (2)
20082026
  1. …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
  2. - 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
  3. …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
  4. …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…
  5. 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,…
  6. Error Prone is not internal: https://github.com/google/error-prone
  7. 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
  8. …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 :)
  9. 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…