×

Semantics-based composition of class hierarchies

  • US 7,137,104 B2
  • Filed: 05/21/2002
  • Issued: 11/14/2006
  • Est. Priority Date: 05/21/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method on an information processing device for reporting any behavioral differences after composing two or more class hierarchies custom character1 and custom character2 with associated applications A1 and A2 respectively, the method on the information processing device comprising:

  • creating a composed hierarchy custom character3 by analyzing a hierarchy custom character1 and a hierarchy custom character2;

    creating well-defined methods and/or fields in one or more classes of the hierarchy custom character3 by analyzing the hierarchy custom character1 and the hierarchy custom character2 and user-supplied information;

    associating a definition of a method M in a class D in a hierarchy custom character with each executed call to a definition of a method M′

    in a class C in the hierarchy custom character where class D is a subtype of class C in a behavior in the hierarchy custom character for each of an application A1 and an application A2, wherein the method M and the method M′

    have an identical signature;

    testing if two behaviors across the hierarchy custom character1 and the hierarchy custom character3 are different by comparing a behavior B3 of the application A1 in the composed hierarchy custom character3 with a behavior B1 of the application A1 in the hierarchy custom character1 and reporting any differences therebetween; and

    testing if two behaviors across the hierarchy custom character2 and the hierarchy custom character3 are different by comparing a behavior B4 of the application A2 in the composed hierarchy custom character3 with a behavior B2 of the application A2 in the hierarchy custom character2 and reporting any differences therebetween.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×