Overview
Syllabus
Intro
Structural layer
Operational layer
Reflection and VM languages
Hello reflection
Generics & reflection - a (bad) straw hut
The hut is shaky
Type annotations - a straw too far?
The hut collapses
Valhalla specialized generics - desugared
Valhalla - some reflection challenges
Three goals for Valhalla reflection
Double down on .I. Class
What about source reflection?
double down on j.l.model
Solution #2
one mirror to rule 'em all Having separate abstractions for declarations and types is cleaner
Mirror taxonomy
Specialization support
Member lookup - example
Generic method lookup
Solution 3
Open issues
Taught by
Java