MK Song [
https://community.jboss.org/people/mksong] created the discussion
"Using Javassist without compilation"
To view the discussion, visit:
https://community.jboss.org/message/720632#720632
--------------------------------------------------------------
I know it would be so funny question.
Can I use a Javassist API, such as
methodB.insertBefore("System.out.println(...)");
without the entire compilation of class "A"?
For example, If I have class "A" that extends "HttpServlet", the
current implementation should look up
"HttpServlet" class, in order to compile and instrument class "A".
Can I weave some method call in a method in class "A"
not compiling entire class "A" but generating only the bytecode for the
transformed method?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/720632#720632]
Start a new discussion in Javassist Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]