My rule of thumb is: if you know that one concrete code shape will
always fit the execution, I'd just emit the bytecode. Invokedynamic is
great for cases where the executed code needs to change from time to
time. You can also combine it - the invocation of actual property
getters getA(), getB()
Hi Dain
This sounds similar to a non local return in smalltalk where some method
in a chain returns to the
starting method. I did this with a throw and a catch based on the invoker
of the chain. Seems to
work for me but I will leave it to the experts to tell you the best way
for your