@xeno-by, @retronym: is it only me who doesn't like anonymous classes because they tend to make it hard to map back from the strack trace to source code? I have this issue all the time with YourKit. Would it be a good idea to define a class explicitly?