~/talk

Your own @Annotation processor

links:none on file
slides:none on file

Explains how to build a simple annotation processor that actually generates Java source files at compile time using the Java Annotation Processing API, shows the concrete use of Filer to write files and the Element/Type inspection to find annotated symbols, demonstrates compile-time validation rules and emits clear errors, and proves the approach by generating working code that reduces boilerplate and prevents a class of runtime bugs.

AI-written summary · about

  1. 0:00Introduction to annotation processors
  2. 4:14Why use annotation processors
  3. 7:50How annotation processors work
  4. 17:40Key requirements for processors
  5. 25:17Next steps and resources
~/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.