~/talk

A deep dive into build-time annotation processing

Talkat jPrime 2024 · 2024-05-28..05-29· [java]
links:none on file
slides:none on file

Explains that build-time annotation processors generate new Java classes (no runtime reflection), use the compiler’s Filer/Element/TypeMirror APIs and run in processing rounds, improving performance by precreating parsers and builders. Notes limits: cannot modify existing classes, processor order is not guaranteed, and processors must be registered in META-INF/services and compiled before use. Recommends code-generation libs (Helidon Class Model, JavaPoet, Lombok) to handle formatting and imports; Helidon’s builder generator is used successfully in production.

AI-written summary · about

  1. 0:00Introduction to annotations
  2. 1:56Customizing annotations
  3. 5:11Annotation processing basics
  4. 10:53Setting up processors
  5. 13:05Processing environment tools
  6. 20:13Elements and type mirrors
  7. 22:11Code generation techniques
  8. 25:55Challenges and libraries
  9. 29:23Helidon project use cases
  10. 32:22Advanced code generation
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.