To be fair, I think this is a ridiculously better software patent than any of the other ones I've seen, but I bet there is prior art for it.
The first claim:
1. A method for correcting semantic errors in code in an integrated development environment, said method comprising the steps of:
- inputting, using a code editor, code being developed in an integrated development environment;
- identifying, in a syntax tree constructed for said code inputted, one or more nodes containing semantic errors pertaining to use of a third-party library;
- displaying one or more suggestions for correcting said semantic errors identified for a node in said syntax tree containing said semantic errors, wherein said one or more suggestions include one or more executable code snippets associated with one or more collaboration records located for a chosen node from the syntax tree;
- selecting at least one executable code snippet from said one or more executable code snippets displayed for correcting said semantic errors identified for said chosen node, wherein said at least one executable code snippet comprises a primary executable code snippet and a secondary executable code snippet;
- executing, by a computer, the primary executable code snippet;
- and in response to the primary executable code snippet failing to correct said semantic errors identified for said node chosen, automatically executing the secondary executable code snippet.
My non-legalese summary:
Finding semantic code errors in a syntax tree, picking up two likely corrections based on a body of previous code, and compiling and executing the snippets to see if they correct the semantic error.