0 Replies Latest reply on May 3, 2006 1:58 PM by tomasso

    Compiling problem

    tomasso

      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!