Just want to mention that there is a risk of dead lock (if during enhancement of a class another one needs to be enhanced), although it should not happen as the enhancer only works on the javassist class pool.