ok ... thx!
So if i understand this correctly, to add the "cross"-call to B.dosthmore(), 
this class must also already contain a method called dosthmore$impl(),
before i can add the new method-body to A.dosth$impl().

As consequence i must first add all new methods as "abstract"
to all classes which should be changed and then in an 2nd step add
the implementation of this methodes, like in the following code?

  | ...
  | foreach(CtClass cls in classes){
  |    cls.stopPruning(true);
  |    addAbstractMethodes(cls);
  |    cls.writeFile();
  | }
  | foreach(CtClass cls in classes){ 
  |    addImplOfMethodes(cls);
  |    // here probably cls.stopPruning(false);
  |    cls.writeFile();
  | }
  | // everythings done hopefully
  | 

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

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


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