Title :
A meta-model for language-independent refactoring
Author :
Tichelaar, Sander ; Ducasse, Stkphane ; Demeyer, Serge ; Nierstrasz, Oscar
Author_Institution :
Software Composition Group, Bern Univ., Switzerland
Abstract :
Refactoring-transforming code while preserving behaviour-is considered a key approach for improving object-oriented software systems. Unfortunately, all of the current refactoring tools depend on language-dependent refactoring engines, which prevents a smooth integration with mainstream development environments. We investigate the similarities between refactorings for Smalltalk and Java, derive a language-independent meta-model and show that it is feasible to build a language-independent refactoring engine on top of this meta-model. Our feasibility study is validated by means of a tool prototype which uses the same engine to refactor both Smalltalk and Java code. Using our approach we minimize the language-dependent part of refactoring tools, providing a standard way for programmers and tools to perform refactorings no matter what language they work in
Keywords :
Java; Smalltalk; object-oriented programming; software maintenance; software tools; Java; Smalltalk; code transformation; language-independent refactoring; meta-model; object-oriented software; software maintenance; software tools; Code standards; Computer architecture; Engines; Java; Programming profession; Prototypes; Software standards; Software systems; Standards development; World Wide Web;
Conference_Titel :
Principles of Software Evolution, 2000. Proceedings. International Symposium on
Conference_Location :
Kanazawa
Print_ISBN :
0-7695-0906-1
DOI :
10.1109/ISPSE.2000.913233