Главная
Study mode:
on
1
Intro
2
Structural layer
3
Operational layer
4
Reflection and VM languages
5
Hello reflection
6
Generics & reflection - a (bad) straw hut
7
The hut is shaky
8
Type annotations - a straw too far?
9
The hut collapses
10
Valhalla specialized generics - desugared
11
Valhalla - some reflection challenges
12
Three goals for Valhalla reflection
13
Double down on .I. Class
14
What about source reflection?
15
double down on j.l.model
16
Solution #2
17
one mirror to rule 'em all Having separate abstractions for declarations and types is cleaner
18
Mirror taxonomy
19
Specialization support
20
Member lookup - example
21
Generic method lookup
22
Solution 3
23
Open issues
Description:
Explore the intricacies of Project Valhalla's impact on Java reflection in this 37-minute conference talk by Maurizio Cimadamore at the JVM Language Summit 2016. Dive into the structural and operational layers of reflection, examining challenges posed by generics and type annotations. Discover the proposed solutions for Valhalla reflection, including specialized generics and the concept of "one mirror to rule them all." Learn about the potential changes to java.lang.Class, source reflection, and the java.lang.model package. Analyze member lookup examples, generic method lookup, and the proposed mirror taxonomy. Gain insights into specialization support and open issues surrounding Project Valhalla's reflection implementation.

Valhalla Reflection: Challenges and Solutions for Java Generics

Java
Add to list