[jboss-user] [Javassist] - Interception of return statement with Javassist

Enric Tejedor do-not-reply at jboss.com
Fri Feb 17 06:43:03 EST 2012


Enric Tejedor [https://community.jboss.org/people/etejedor] created the discussion

"Interception of return statement with Javassist"

To view the discussion, visit: https://community.jboss.org/message/717424#717424

--------------------------------------------------------------
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
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/717424#717424]

Start a new discussion in Javassist at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2062]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120217/b978312f/attachment.html 


More information about the jboss-user mailing list