0 Replies Latest reply: Feb 17, 2012 6:42 AM by Enric Tejedor RSS

    Interception of return statement with Javassist

    Enric Tejedor Newbie

      Hello,

      Is there a way to intercept the return statement of a method body using the Javassist source-level API?

       

      I'd like to know which object is returned by a method, and insert some code before the return statement that processes that object.

       

      Thank you,

       

      Enric