A New Class Generation Mechanism by Method Integration

  • Authors:
  • K. Maruyama;K. Shima

  • Affiliations:
  • -;-

  • Venue:
  • ICSR '98 Proceedings of the 5th International Conference on Software Reuse
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper 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, a Specifier; Finder; and Integrator; that perform this mechanism. Specifier records the history of modifications between methods with the same inteiface ofa 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 Imegrator 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.