Reflection-based implementation of Java extensions: the double-dispatch use-case

Rémi Forax, Étienne Duris, Gilles Roussel · 2005

Reflection-based libraries could sometimes be used to extend the expressive power of Java without modifying the language nor the virtual machine. In this paper, we present the advantages of this approach together with general guidelines allowing such implementations to be practicable. Then, we show how these principles have been applied to implement an efficient and general double-dispatch solution for Java.

Read the paper · More papers on PaperTik