Title :
A new class generation mechanism by method integration
Author :
Maruyama, Katsuhisa ; Shima, Ken-ichi
Author_Institution :
NTT Software Labs., Musashino, Japan
Abstract :
Presents a mechanism for automatically generating new classes from classes existing in a user library by using their modification histories. To generate classes that are likely to meet user requirements and are consistent with the existing classes, we propose three actors-Specifier, Finder and Integrator-that perform this mechanism. 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 user is referring to, Finder retrieves classes similar to the referenced class and 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 Specifier and Integrator are achieved by a method integration algorithm based on object-oriented bounded program slicing and class dependence graph matching. The mechanism enables users to reuse new classes with little or no modification, and thus easily create object-oriented programs
Keywords :
automatic programming; computer aided software engineering; configuration management; inheritance; object-oriented methods; object-oriented programming; software libraries; software reusability; Finder; Integrator; Specifier; actors; automatic class generation mechanism; class dependence graph matching; class hierarchy tree; class interfaces; class modification history; method integration algorithm; object-oriented bounded program slicing; referenced class; similar class retrieval; user library; user requirements; Algorithm design and analysis; History; Laboratories; Libraries; Read only memory;
Conference_Titel :
Software Reuse, 1998. Proceedings. Fifth International Conference on
Conference_Location :
Victoria, BC
Print_ISBN :
0-8186-8377-5
DOI :
10.1109/ICSR.1998.685744