31. The method of claim 1 wherein analyzing the computer program to identify an undo pattern includes analyzing method names to identify names that are antonyms of each other and wherein generating the user interface tool for implementing the undo operation includes, after execution of a method M with an antonym A, providing the ability, via the user interface tool, for the user to execute the antonym A.
32. The method of claim 31 wherein analyzing method names to identify methods that are antonyms of each other includes identifying prefixes or words that indicate that the names are antonyms.