Crie classe da variável string java
String className = "Class1";
Object xyz = Class.forName(className).newInstance();
Meti
String className = "Class1";
Object xyz = Class.forName(className).newInstance();