How would I implement methods that I copy from an interface in a CtClass, to a class I have as a ClassFile.
ClassFile seems only to allow to add methods using a MethodInfo, so how is the body added? Basically I want to implement an interface on a class, and if that class has some getter or setter methods of the interface missing, then I want to add those methods in using the definition in the interface, and providing bodies that interact with a superclass for values. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908819#3908819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908819 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
