Hi everyone!

I have a question about bytecode manipulation with Javassist.
Is it possible to modify more than one class a time and
compile them together?!?
I think of doing sth like this:

  | class A{
  |     void dosth(){ 
  |          ...
  |          B.dosthmore();
  |          ....
  |     }
  | }
  | class B{
  |     void dosthmore(){...}
  | }
  | 
And i want to change it in sth like this ..

  | class A{
  |     void dosth$impl(){ 
  |          ...
  |          B.dosthmore$impl();
  |          ...
  |     }
  |     void dosth(){ 
  |          ...
  |          dosth$impl();
  |           ....
  |     }
  | }
  | class B{
  |     void dosthmore$impl(){...}
  |     void dosthmore(){...}
  | }
  | 

As i saw in the tutorial it is easy to modify one class a time,
is this also true for more than 1?!? Or do i have to
split this up into 2 "Loops" ?

Sincerely
     Sirrurg 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861627#3861627

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861627


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to