API representation enabling submerged hierarchy
First Claim
1. A method for representing an application programming interface (API) definition for an object-oriented library, said method comprising:
- creating a public list including all public classes and interfaces defined in said object-oriented library wherein said all public classes and interfaces being written in an object-orientated computer programming language and said interfaces include methods, said public list including a class sublist for each of said public classes, each said class sublist including all direct and indirect public superclasses of a class and excluding private classes; and
storing said list.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for representing an application programming interface (API) for an object-oriented library includes creating a list of public elements in the library and storing the list. Each public element in the list includes a sublist of all public related elements for the element. According to one aspect, the public elements include classes and interfaces, the public related elements include public superclasses and public superinterfaces, and the library is a Java™ package. According to one aspect, a method for determining a program hierarchy includes receiving an API definition file for an object-oriented library and indicating a first public element is a direct parent of a second public element when the first public element is represented in the sublist for the second public element and the first public element is not represented in the sublist for any other public element listed in the sublist for the second public element. According to another aspect, a method for detecting changes to a program hierarchy includes comparing a first program hierarchy reconstructed from a first API definition file with a second program hierarchy reconstructed form a second API definition file and indicating an error when the first program hierarchy is inconsistent with the second program hierarchy.
101 Citations
20 Claims
-
1. A method for representing an application programming interface (API) definition for an object-oriented library, said method comprising:
-
creating a public list including all public classes and interfaces defined in said object-oriented library wherein said all public classes and interfaces being written in an object-orientated computer programming language and said interfaces include methods, said public list including a class sublist for each of said public classes, each said class sublist including all direct and indirect public superclasses of a class and excluding private classes; and storing said list. - View Dependent Claims (2)
-
-
3. A program storage device readable by a machine, embodying a program of instructions executable by the machine to perform a method to represent an application programming interface (API) definition for an object-oriented library, the method comprising:
-
creating a public list including all public classes and interfaces defined in said object-oriented library wherein said all public classes and interfaces being written in an object-orientated computer programming language and said interfaces include methods, said public list including a class sublist for each of said public classes, each said class sublist including all direct and indirect public superclasses of a class and excluding private classes; and storing said list. - View Dependent Claims (4)
-
-
5. An apparatus for representing an application programming interface (API) definition for an object-oriented library, said apparatus comprising:
-
means for creating a public list including all public classes and interfaces defined in said object-oriented library wherein said all public classes and interfaces being written in an object-orientated computer programming language and said interfaces include methods, said public list including a class sublist for each of said public classes, each said class sublist including all direct and indirect public superclasses of a class and excluding private classes; and means for storing said list. - View Dependent Claims (6)
-
-
7. A method for representing an application programming interface (API) definition for an object-oriented library, said method comprising:
-
step for creating a public list including all public classes and interfaces defined in said object-oriented library wherein said all public classes and interfaces being written in an object-orientated computer programming language and said interfaces include methods, said public list including a class sublist for each of said public classes, each said class sublist including all direct and indirect public superclasses of a class and excluding private classes; and step for storing said list. - View Dependent Claims (8)
-
-
9. A method for determining a program hierarchy, said method comprising:
-
receiving an application programming interface (API) definition file for an object-oriented library, said API definition file including a list of public elements in said object-oriented library, each element comprising a class or interface, wherein said each class or interface being written in an object-orientated computer programming language and said interface include at least one method each of said public elements including a sublist of all public hierarchically-related elements that are a parent of the element and excluding private classes; and indicating a first public element is a direct parent of a second public element when said first public element is represented in the sublist for said second public element and said first public element is not represented in the sublist for any other public element listed in the sublist for said second public element. - View Dependent Claims (10, 11)
-
-
12. A program storage device readable by a machine, embodying a program of instructions executable by the machine to perform a method to determine a program hierarchy, said method comprising:
-
receiving an application programming interface (API) definition file for an object-oriented library, said API definition file including a list of public elements in said object-oriented library, each element comprising a class or interface, wherein said each class or interface being written in an object-orientated computer programming language and said interface include at least one method each of said public elements including a sublist of all public hierarchically-related elements that are a parent of the element and excluding private classes; and indicating a first public element is a direct parent of a second public element when said first public element is represented in the sublist for said second public element and said first public element is not represented in the sublist for any other public element listed in the sublist for said second public element. - View Dependent Claims (13, 14)
-
-
15. An apparatus for determining a program hierarchy, said apparatus comprising:
-
means for receiving an application programming interface (API) definition file for an object-oriented library, said API definition file including a list of public elements in said object-oriented library, each element comprising a class or interface, wherein said each class or interface being written in an object-orientated computer programming language and said interface include at least one method each of said public elements including a sublist of all public hierarchically-related elements that are a parent of the element and excluding private classes; and means for indicating a first public element is a direct parent of a second public element when said first public element is represented in the sublist for said second public element and said first public element is not represented in the sublist for any other public element listed in the sublist for said second public element. - View Dependent Claims (16, 17)
-
-
18. A method for determining a program hierarchy, said method comprising:
-
step for receiving an application programming interface (API) definition file for an object-oriented library, said API definition file including a list of public elements in said object-oriented library, each element comprising a class or interface, wherein said each class or interface being written in an object-orientated computer programming language and said interface include at least one method each of said public elements including a sublist of all public hierarchically-related elements that are a parent of the element and excluding private classes; and step for indicating a first public element is a direct parent of a second public element when said first public element is represented in the sublist for said second public element and said first public element is not represented in the sublist for any other public element listed in the sublist for said second public element. - View Dependent Claims (19, 20)
-
Specification