impl of OnMethodInvoke advice