求两篇paper,多谢!!!# Engineering - 工程
c*n
1 楼
if I have method1 method2() method3() ...
and I create a pointcut so that I log the func call in each of them
is there a way to obtain the method name inside my advice ?
for example
pointcut blah() : execution ( * * () );
before(): blah() {
System.out.println( "running " + $_SOME_SPECIAL_VAR_FOR_FUNC_NAME );
}
and I create a pointcut so that I log the func call in each of them
is there a way to obtain the method name inside my advice ?
for example
pointcut blah() : execution ( * * () );
before(): blah() {
System.out.println( "running " + $_SOME_SPECIAL_VAR_FOR_FUNC_NAME );
}