0 Replies Latest reply on May 3, 2006 1:58 PM by Pablo Tomas Borda Di Berardino

    Compiling problem

    Pablo Tomas Borda Di Berardino Newbie

      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!