skip to main content
10.1145/2541348.2541350acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
short-paper

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

Published: 27 October 2013 Publication History

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.

References

[1]
M. Fowler. Domain-Specific Languages. Addison-Wesley Professional, 2010.
[2]
P. Linos, W. Lucas, S. Myers, and E. Maier. A metrics tool for multi-language software. In Proceedings of the 11th IASTED International Conference on Software Engineering and Applications, SEA '07, pages 324--329, Anaheim, CA, USA, 2007. ACTA Press.
[3]
P. Mayer and A. Schroeder. Patterns of cross-language linking in java frameworks. In Proceedings of the 21st IEEE International Conference on Program Comprehension, ICPC'13, pages 1--10, 2013.
[4]
R.-H. Pfeiffer and A. Wasowski. Cross-language support mechanisms significantly aid software development. In R. B. France, J. Kazmeier, R. Breu, and C. Atkinson, editors, MoDELS, volume 7590 of Lecture Notes in Computer Science, pages 168--184. Springer, 2012.
[5]
D. Strein, R. Lincke, J. Lundberg, and W. Löwe. An extensible meta-model for program analysis. IEEE Trans. Softw. Eng., 33 (9): 592--607, 2007.
[6]
Z. Tatlock, C. Tucker, D. Shuffelton, R. Jhala, and S. Lerner. Deep typechecking and refactoring. SIGPLAN Not., 43 (10): 37--52, 2008.

Cited By

View all
  • (2024)Focused: An Approach to Framework-Oriented Cross-Language Link Specification and Detection2024 IEEE International Conference on Software Maintenance and Evolution (ICSME)10.1109/ICSME58944.2024.00020(100-111)Online publication date: 6-Oct-2024
  • (2023)RMT: A Semi-Automated Tool for Refactoring Design PatternsProceedings of the XXXVII Brazilian Symposium on Software Engineering10.1145/3613372.3613416(77-82)Online publication date: 25-Sep-2023
  • (2023)A Cross-Language Name Binding Recognition and Discrimination Approach for Identifiers2023 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER56733.2023.00115(948-955)Online publication date: Mar-2023
  • Show More Cited By

Index Terms

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

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    WRT '13: Proceedings of the 2013 ACM workshop on Workshop on refactoring tools
    October 2013
    44 pages
    ISBN:9781450326049
    DOI:10.1145/2541348
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 27 October 2013

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. automation
    2. cross-language
    3. dsls
    4. java
    5. multi-language software applications
    6. polyglot programming
    7. refactoring

    Qualifiers

    • Short-paper

    Conference

    SPLASH '13
    Sponsor:

    Acceptance Rates

    WRT '13 Paper Acceptance Rate 9 of 9 submissions, 100%;
    Overall Acceptance Rate 9 of 9 submissions, 100%

    Upcoming Conference

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)2
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 17 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Focused: An Approach to Framework-Oriented Cross-Language Link Specification and Detection2024 IEEE International Conference on Software Maintenance and Evolution (ICSME)10.1109/ICSME58944.2024.00020(100-111)Online publication date: 6-Oct-2024
    • (2023)RMT: A Semi-Automated Tool for Refactoring Design PatternsProceedings of the XXXVII Brazilian Symposium on Software Engineering10.1145/3613372.3613416(77-82)Online publication date: 25-Sep-2023
    • (2023)A Cross-Language Name Binding Recognition and Discrimination Approach for Identifiers2023 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER56733.2023.00115(948-955)Online publication date: Mar-2023
    • (2023)Pragmatic evidence of cross-language link detection: A systematic literature reviewJournal of Systems and Software10.1016/j.jss.2023.111825206(111825)Online publication date: Dec-2023
    • (2023)Task Completeness Assessments in the Evolution of Domain-Specific Modelling LanguagesAdvanced Information Systems Engineering10.1007/978-3-031-34560-9_19(314-329)Online publication date: 8-Jun-2023
    • (2020)A Survey on Renamings of Software EntitiesACM Computing Surveys10.1145/337944353:2(1-38)Online publication date: 17-Apr-2020
    • (2018)A Systematic Mapping of Literature on Software Refactoring ToolsProceedings of the XIV Brazilian Symposium on Information Systems10.1145/3229345.3229357(1-8)Online publication date: 4-Jun-2018
    • (2017)A Systematic Mapping Study on DSL Evolution2017 43rd Euromicro Conference on Software Engineering and Advanced Applications (SEAA)10.1109/SEAA.2017.25(149-156)Online publication date: Aug-2017
    • (2017)Multilingual Source Code Analysis: A Systematic Literature ReviewIEEE Access10.1109/ACCESS.2017.27104215(11307-11336)Online publication date: 2017
    • (2014)Automated Multi-Language Artifact Binding and Rename Refactoring between Java and DSLs Used by Java FrameworksProceedings of the 28th European Conference on ECOOP 2014 --- Object-Oriented Programming - Volume 858610.1007/978-3-662-44202-9_18(437-462)Online publication date: 1-Aug-2014

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media