~/talk

Explaining annotation magic

links:none on file
slides:none on file

Shows how @Target and @Retention actually change where and when metadata lives (Source vs Class vs Runtime), builds a custom annotation processor (extends AbstractProcessor, supported annotations, ProcessingEnvironment) and demonstrates runtime reflection vs classpath scanning (Reflections library vs ClassIndex indexing), implements a simple test runner with an @Ignore boolean attribute, and compares code generation approaches such as Lombok annotations versus Java records for value objects.

AI-written summary · about

  1. 0:00Introduction to annotations
  2. 1:43What are annotations
  3. 3:50Annotation basics
  4. 5:38Where annotations target
  5. 9:14Retention policy explained
  6. 13:09Built-in annotations
  7. 17:26Suppress warnings deep dive
  8. 20:38Testing with annotations
  9. 26:18Manual vs automated testing
  10. 28:03Reflections library overview
  11. 30:33Class index optimization
  12. 33:50Package-level annotations
  13. 35:12Lombok and code generation
  14. 38:03Records vs Lombok
  15. 39:27Annotation processing intro
  16. 44:30Q&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.