DocumentCode :
3644494
Title :
Semi-automatic component upgrade with RefactoringNG
Author :
Zdeněk Troníček
Author_Institution :
Faculty of Information Technology, Czech Technical University in Prague, Czech Republic
fYear :
2011
Firstpage :
907
Lastpage :
910
Abstract :
Software components evolve and this evolution often leads to changes in their interfaces. Upgrade to a new version of component then involves changes in client code that are nowadays usually done manually. We deal with the problem of automatic update of client code when the client upgrades to a new version of component. We describe a new flexible refactoring tool for the Java programming language that performs refactorings described by refactoring rules. Each refactoring rule consists of two abstract syntax trees: pattern and rewrite. The tool searches for the pattern tree in client-source-code abstract syntax trees and replaces each occurrence with the rewrite tree. The client-source-code abstract syntax trees are built and fully attributed by the Java compiler. Thus, the tool has complete syntactic and semantic information. Semantic analysis and flexibility in refactoring definitions make the tool superior to most competitors.
Keywords :
"Java","Syntactics","Libraries","Marine vehicles","Semantics","Software maintenance"
Publisher :
ieee
Conference_Titel :
Computer Science and Information Systems (FedCSIS), 2011 Federated Conference on
Print_ISBN :
978-1-4577-0041-5
Type :
conf
Filename :
6078310
Link To Document :
بازگشت