Doing undo with Aspects

May 10, 2004 03:46 · 39 words · 1 minute read

Jon Tirsen has a neat tip for doing Undo in AspectJ. I’m actually already using AspectJ for field modification interception and hadn’t thought of implementing undo like this. A method like this could indeed save a lot of code.