1 2 3 4 5 6 7 8 9 10 11
package pkg; public aspect A { pointcut p() : execution(* C.method1()); before(): p() { System.out.println(thisJoinPoint); } }