Well, I suppose I could do that.
But, OTOH, you could just do
And you then inject eventRaiser in the observer...
Btw, I did also consider supporting a varargs list of arguments to raiseEvent(). I decided to leave that out for now, since it does not work so well if we are using EL expressions to call the observers.