Hello when i try to do something like this i get a compilation exception:
this.getNewClassConstructor().insertAfter("{ " + field.getName() + " = " + "new" + givenClass.getName() + "(); }");
What am i doing wrong? i just want to set a field to a new instance of a class...
but cant make it work..
Thanks!