~/talk

Streamlining large-scale Java development using Error Prone

Talkat Jfokus 2022 · 2022-05-02..05-04· [java, developer-experience]
slides:none on file

Picnic uses Error Prone plus Refaster to detect and automatically fix hundreds of bug patterns during compilation, running across a codebase maintained by 200+ engineers and migrated to Java 17. Examples include converting new IllegalArgumentException without throw into a thrown exception, replacing string equals("") or length()==0 with isEmpty, enforcing opt‑in mutability via an @Var annotation, checking SLF4J placeholders, and running rewrites in CI so builds fail or PRs block until fixes are applied. A fork adds refaster conveniences and custom checks enable large-scale migrations.

AI-written summary · about

  1. 0:00Intro
  2. 1:34Refactoring at Scale
  3. 2:20The Online Groceries Challenge
  4. 15:08Error Prone Picnic
  5. 24:19Custom BugChecks Picnic
  6. 30:13Error Prone with Refaster
  7. 40:06Refaster Picnic: Reactor anti-patterns
  8. 42:46When to create a BugCheck? properties
  9. 43:52Integrating Error Prone with CI
  10. 45:21Picnic Research
  11. 46:34Practice your new superpower!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.