Automatic copying by ancestor in object-oriented languages
AssigneeInternational Business Machines Corporation
InventorsKaren Holtz, Eitan Marcus, Ronny Morad
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsKaren Holtz, Eitan Marcus, Ronny Morad
Estimating the term…
A method of automatically defining a new class in a class hierarchy includes creating a descendent class that descends from one or more specified ancestor classes; sequentially analyzing each class along each inheritance path from the specified ancestor classes to a specified similar class to identify each class item in each class that is not selected from the specified ancestor classes; storing a respective pointer for each class item identified in each class that is not inherited by the class referencing the class item and associated with the class; storing a respective pointer for each class item identified in each class that is inherited and redefined by the class referencing the class item and being associated with the class if a pointer referencing the class item is not already stored; and copying each class item referenced by a stored pointer to the descendent class.
A method of automatically defining a new class in a class hierarchy specified in an object-oriented programming language, the method comprising:
A computer-usable medium having computer readable instructions stored thereon for execution by a processor to perform a method of automatically defining a new class in a class hierarchy specified in an object-oriented programming language, the method comprising:
A data processing system comprising:
Dependencies are inferred from the claim text.