I have two Strings:
String a=\"org.test.A\"; String b=\"org.test.B\";
I get a class by Reflection
Class aClass = Class.forN
As said before I'd recommend to look at CGLIB but there is also javassist which is a class library for editing bytecodes...