×

Removal of unreachable methods in object-oriented applications based on program interface analysis

  • US 6,654,951 B1
  • Filed: 12/14/1998
  • Issued: 11/25/2003
  • Est. Priority Date: 12/14/1998
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for generating a representation of an object-oriented program P which uses an interface I of a class library L, the method comprising the steps of:

  • identifying a first set of classes C in the P that may be instantiated;

    for a given class cl in the P, such that said given class cl is instantiated and overrides a method f declared in the L, identifying a set S of methods reachable by a dynamic dispatch within the L based upon said interface I;

    identifying methods in the set S as reachable; and

    excluding methods of the P that are not in the S from said representation of said program P.

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