~/talk

Lint for Life: Your Customizable Guard On the Go

name:Snow Zhao
links:none on file

Demonstrates a custom Android Lint rule that flags constructors with more than two parameters and suggests a generated builder, implemented with UAST/PSI scanners, IssueRegistry, and the Lint testing API; packaging uses a lint JAR or Gradle artifact and an environment variable controls the parameter threshold. Includes an autofix replace that inserts the builder in the IDE, tests pass, and the approach already shipped a Retrofit-related rule at Groupon. Notes that Android Lint grows to about 300 checks and integrates into build-time and IDE reports.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47What is Android Lint
  3. 3:35Custom Lint Rule Demo
  4. 8:57Configuring Lint Rules
  5. 11:07Building a Constructor Detector
  6. 17:57Understanding UAST and AST
  7. 22:56Implementing the Detector
  8. 26:58Testing the Custom Rule
  9. 29:49Adding Quick Fixes
  10. 33:27Making Rules Configurable
  11. 34:54Other Static Analysis Tools
  12. 39:15Choosing the Right Tool
  13. 40:45Summary and Resources
  14. 41:50Q&A
~/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.