$0 means "this". So maybe a right program is:
| cons1.setBody("super((dome.interpretation.InterpretationFactory)$1,
(dome.datamodel.FirstClassObject)$2);");
|
Note that the arguments are $1 and $2.
anonymous wrote : however if I don't then the javassist compiler complains that
it cannot find the appropriate method. This is also true in methods as well as
constructors.
|
This is because the type of $0 is not what you expected.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871435#3871435
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871435
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user