Compile and Run the Application
To compile and run (for further detail, refer to our Compiling and Running Examples Guide): $ ant run.aopc It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example. The output should be similar to this: _run.aopc: [java] --- pojo.noop(); --- [java] < < < Entering SimpleInterceptor [java] noop() [java] >>> Leaving SimpleInterceptor [java] --- pojo.test1(String param); --- [java] test1(String param): hello world [java] --- pojo.test1(int param); --- [java] < < < Entering MethodInterceptor for: public void POJO.test2(int) [java] test2(int param): 55 [java] >>> Leaving MethodInterceptor [java] --- POJO.test2(); --- [java] < < < Entering MethodInterceptor for: public static void POJO.test2() [java] static method [java] >>> Leaving MethodInterceptor