Compile-time reflection and metaprogramming for Java

Weiyu Miao, Jeremy G. Siek · 2014

Java reflection enables us to write reusable programs that are independent of certain classes. However, when runtime performance is a big concern, we propose to use compile-time reflection for writing metaprograms that generate non-reflective class/type specific code, which has lower runtime cost.

Read the paper · More papers on PaperTik