3 Replies Latest reply on Sep 11, 2009 2:33 AM by herkules000

    How to add an import statement

      HI,
      I am using jassist to instrument the byte code. I want to add following statement to all methods:
      method.insertBefore("{ Profiler.start(); }");
      In addition to this i should add the import statement for Profiler class. How should i do it ?