Towards automated cross-language refactorings between Java and DSLs used by Java frameworks

  • Authors:
  • Philip Mayer;Andreas Schroeder

  • Affiliations:
  • Ludwig-Maximilians-Universität, München, Germany;Ludwig-Maximilians-Universität, München, Germany

  • Venue:
  • Proceedings of the 2013 ACM workshop on Workshop on refactoring tools
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Today, software applications are usually not written in just one programming language. In many cases, a general-purpose language such as Java is combined with multiple domain-specific languages (DSLs) for diverse purposes such as system configuration, UI description, or database querying. The artifacts defined in those different languages reference each other, often by name; in most cases these references are essential for the functionality of the overall system. This introduces problems if an artifact is refactored in any single language, since most current refactoring tools are not aware of language-external uses of the artifact. What is therefore needed is extended refactoring support across language boundaries. In this work, we explore the area of cross-language linking and refactoring, and present an approach and tool which we evaluate in a systematic fashion using automated renaming and unit testing on an open-source case study.