I’m going to take a break for some Saturday brunch now. I haven’t actually run the generated bytecode yet, but it looks good. I’m impressed with the code I wrote last summer.
One thing that I’ll definitely have to investigate is how this code and the Java VM will react if there already was a catch-all handler, and I add another one. My intuition right now is that my code would add a second catch-all handler that is unnecessary. The question is whether the JVM will barf. I guess I can filter it out.