Patent Document ID: 7747991
Application ID: 11271801
Patent Status: 1

Claim One:
1. A program converting method for converting a program described in an object-oriented language, said method comprising: analyzing, in the program stored in a program storage of a program converting apparatus, a type of an instance by which a method is called; extracting, from a definition of the method, a virtual method call which is called by the instance; and converting, based on the type of the instance analyzed by said analyzing, the virtual method call extracted by said extracting, into a direct method call, wherein said analyzing includes: analyzing, in the program, an inheritance relationship of classes; analyzing a re-definition of a virtual method corresponding to the virtual method call in each of the classes; analyzing, in the program, the direct method call to the virtual method; and specifying, based on a result of said analyzing of the inheritance relationship of the classes, said analyzing of the re-definition, and said analyzing of the direct method call, the type of the instance by which the method is called, and in said converting, the virtual method call extracted by said extracting is converted into the direct method call, when the type of the instance is specifiable by said specifying.