Cross language refactoring for Eclipse plug-ins

  • Authors:
  • Martin Kempf;Reto Kleeb;Michael Klenk;Peter Sommerlad

  • Affiliations:
  • IFS Institute for Software at HSR Rapperswil, Rapperswil, Switzerland;IFS Institute for Software at HSR Rapperswil, Rapperswil, Switzerland;IFS Institute for Software at HSR Rapperswil, Rapperswil, Switzerland;IFS Institute for Software at HSR Rapperswil, Rapperswil, Switzerland

  • Venue:
  • Proceedings of the 2nd Workshop on Refactoring Tools
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article presents our research on how a cross-language refactoring could be implemented in an Eclipse Plugin. A non-Java language running on the Java virtual machine JVM interacts with Java code. Refactorings in either language might break the code written in the other. To keep the code synchronized, cross-language Refactoring is needed. In this article we describe how such a cross-language feature can be implemented. Which parts of the Java Development Toolkit JDT of Eclipse you can use and what has to be written at your own. The examples are shown for the language Groovy for which we implemented refactoring support for the Eclipse Plug-in (GRE-Refactoring), but the basic architecture can also be used for others like Scala.