Reified generics at class level with TypeTag


#1

The desire to have reified generics for class is not new. In this thread they are estimated for Java 11 with project Valhalla. That would be this year. However, it seems to be a non-goal of project Valhalla to provide full reified generics.

What is about implementing something like Scalas TypeTags?


#2

TypeTag link is broken.

Is this proposal similar to:


#3

I can no longer edit the original message, but you can read more about Scala’s Type Tags here.