Title :
An automatic class generation mechanism by using method integration
Author :
Maruyama, Katsuhisa ; Shima, Ken-ichi
Author_Institution :
Media Technol. Dev. Center, NTT Commun. Corp., Tokyo, Japan
fDate :
5/1/2000 12:00:00 AM
Abstract :
The paper presents a mechanism for automatically generating new classes from classes existing in a library by using their modification histories. To generate classes that are likely to meet a programmer´s requirements and that are consistent with the existing classes, we propose three actors: a Specifier, a Finder, and an integrator. The Specifier records the history of modifications between methods with the same interface of a parent class and its heir. If the required method is not defined in the existing class which a programmer is referring to, the Finder retrieves classes similar to the referenced class and the Integrator applies the past modifications of similar classes to the referenced class. Classes are determined to be similar, based on their positions in a class hierarchy tree. Both the Specifier and Integrator are achieved by using a method integration algorithm based on object oriented bounded program slicing and class dependence graph matching. This mechanism enables programmers to reuse classes with little or no modification, and thus, easily create object oriented programs
Keywords :
automatic programming; graph theory; object-oriented programming; program slicing; software libraries; Finder; Specifier; automatic class generation mechanism; class dependence graph matching; class hierarchy tree; class reuse; integrator; library classes; method integration; method integration algorithm; modification histories; object oriented bounded program slicing; object oriented programs; parent class; past modifications; referenced class; Computer Society; Costs; History; Laboratories; Mobile communication; Object oriented programming; Programming profession; Software libraries; Tree graphs;
Journal_Title :
Software Engineering, IEEE Transactions on