DocumentCode :
3233501
Title :
An automated refactoring approach to design pattern-based program transformations in Java programs
Author :
Jeon, Sang-Ul ; Lee, Joon-Sang ; Bae, Doo-Hwan
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., Korea Adv. Inst. of Sci. & Technol., South Korea
fYear :
2002
fDate :
2002
Firstpage :
337
Lastpage :
345
Abstract :
Software often needs to be modified to accommodate requirements changes during the software lifecycle. To deal with several accidental requirements changes related to software maintenance, a systematic and safe approach to modifying software is needed. Design patterns provide a high degree of design flexibility for such accidental requirements changes. In this paper, we propose an automated approach to refactoring based on design patterns in Java programs. In our approach, for a particular design pattern, we define an inference rule to automatically identify a set of candidate spots and a refactoring strategy to transform a candidate spot into the desired design pattern structure. A candidate spot may be a class or a set of classes to which design patterns can be applied. We believe that our approach would be helpful to maintainers in the sense that much manual analysis of source code can be reduced, and the method of automated program transformation preserves behavior of the original program by means of the refactoring technique.
Keywords :
Java; computer aided software engineering; object-oriented programming; software maintenance; Java programs; automated refactoring approach; design pattern-based program transformations; inference rule; requirements changes; software maintenance; Java; Software engineering;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference, 2002. Ninth Asia-Pacific
ISSN :
1530-1362
Print_ISBN :
0-7695-1850-8
Type :
conf
DOI :
10.1109/APSEC.2002.1183003
Filename :
1183003
Link To Document :
بازگشت