~/talk

Linty Fresh

Talkat 360|AnDev 2016 · 2016-07-28..07-29· [android]
links:none on file
slides:none on file

Shows how to author a real Android Lint check end to end: define an Issue, write a Detector/Java scanner that visits enum declarations, register it, package it as a jar and install it into ~/.android/lint so Android Studio and CI pick it up. Uses the Android Lint API, Gradle, JUnit 4 and the lint test helpers to run positive/negative cases. Demonstrates an enum detector, notes the core lint repo has ~200 core issues, and produces a jar installed to ~/.android/lint that reports warnings.

AI-written summary · about

  1. 0:00Start
  2. 5:28heck for Enums
  3. 8:07hitecture
  4. 16:41ity Explained
  5. 23:18yntax Trees
  6. 26:06licableNodeTypes()
  7. 27:24tejavaVisitor(...)
  8. 28:07mChecker (2/2)
  9. 33:36uilding a Lint Check
  10. 34:57Resources
  11. 35:43egistry (2/2)
  12. 36:25etector (3/4)
  13. 38:58Output
~/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.