1 Reply Latest reply on Feb 21, 2010 10:51 PM by Arvind K

    Javassist and compile-time code instrumentation

    kamgang ngounou Newbie

      Is it possible to use javassist to insrument code at compile-time with jdk6 annotation processing?

      My need is that I have to use a thread synchronisation api in my business code, and to do that I would like to use annotation

      (in my business code) to indicate where to add specific behaviour defined in my api (annotation driven development).

      It is possible to do that at runtime with java agent or runtime reflection but at compile-time, it is faster.