Autre Publication Scientifique CEUR Workshop Proceedings Année : 2025

Building Blocks for Object-Oriented Refactoring Engines

Résumé

Refactorings are behavior-preserving source code transformations that have become integral to modern Integrated Development Environments (IDEs) and code editors, significantly enhancing software development practices. Our goal is to facilitate the creation of custom refactorings and support users in developing their own. To achieve this, we identify the essential building blocks required for creating composite, modular refactorings.

We propose a set of abstractions that enable the development of a robust refactoring engine. These abstractions include an initial set of transformations, program primitives, and an API for precondition checking and static analysis necessary to create new refactorings. We demonstrate how standard refactorings can be effectively composed using these building blocks, providing concrete examples to illustrate their application.

Fichier principal
Vignette du fichier
Sarenac-BuildingBlocksForDTOORefactoringEngines.pdf (975.43 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Licence

Dates et versions

hal-05022531 , version 1 (06-04-2025)

Licence

Identifiants

  • HAL Id : hal-05022531 , version 1

Citer

Balša Šarenac, Stéphane Ducasse, Guillermo Polito, Gordana Rakic. Building Blocks for Object-Oriented Refactoring Engines. Proceedings of the International Workshop on Smalltalk Technologies 2025, 2025. ⟨hal-05022531⟩
968 Consultations
241 Téléchargements

Partager

  • More