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

  • Authors:
  • Rémi Forax;Etienne Duris;Gilles Roussel

  • Affiliations:
  • Institut Gaspard-Monge Université de Marne-la-Vallée;Institut Gaspard-Monge Université de Marne-la-Vallée;Institut Gaspard-Monge Université de Marne-la-Vallée

  • Venue:
  • Proceedings of the 2005 ACM symposium on Applied computing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.