Patent ID: 7467375

Claim:
A method for transforming a procedural program having procedural language code into an object-oriented program, comprising: scanning the procedural language code of the procedural program to discover one or more components of the procedural program; creating and storing a map based on the scanned procedural language code and the discovered one or more components of the procedural program; storing the one or more components of the procedural program as first intermediate code comprising, for each of the one or more components of the procedural program, a corresponding meta-component; processing at least a segment of the procedural language code for a particular component using the map; creating a first data structure using the processed segment; modifying second intermediate code for a target object based on the first data structure; and generating an object-oriented program having an object class based on the modified second intermediate code for the target object; wherein the method further comprises: suspending the step of processing a segment of the procedural language code when a predetermined segment of the procedural language code is detected; and modifying another intermediate code based on the predetermined segment.