~/talk

Automatically improving Java codebases with Error Prone

Talkat Voxxed Days Luxembourg 2024 · 2024-06-20..06-21· [java, developer-experience]
slides:none on file

Shows how Error Prone (a Java compiler plugin) plus Refaster rules automatically detect and rewrite issues during Maven builds; demo compiles, flags "return value ignored" and fixes it with a patch profile. Picnic reports creating ~900 Refaster rules and ~40 BugPatterns, running 60+ PRs across ~70 repos to apply fixes, using a patch script so CI fails until developers run and inspect automated changes. Rollout is iterative, suppressions exist for edge cases, and adopters report fewer repetitive review comments.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:44What is Error Prone
  3. 9:33Error Prone demo
  4. 24:51Refaster and custom rules
  5. 30:54Deep dive into Refaster
  6. 43:10Live coding Refaster rules
  7. 1:02:20Error Prone advanced features
  8. 1:19:48Implementing Error Prone checks
  9. 1:30:03Roadmap for adoption
  10. 1:43:51Error Prone at Picnic
  11. 1:53:45Q&A and closing
~/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.