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

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

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -