Dynamic class creation in Java -


i'm wondering if knows way dynamically create java class, or more method in java class. i'm trying unit testing, have code i've written, , i'm modifying code adding system.out.println statements , deleting them when i'm finished (otherwise code gets cluttered). i'm trying write framework can take method, copy code, add system.out.println statements automatically, , run test on copied method. might save time recompiling entire java application when i've made minor change info while debugging.

any ideas appreciated.

you use logging framework.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -