0 Replies Latest reply on Feb 17, 2012 6:42 AM by etejedor

    Interception of return statement with Javassist



      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,