나는 추적 메소드 입력/종료에 사용하는 다음 pointcut을 생각해 냈습니다. 그것은 부서지지 않고 또한 내가 원하는 것을 수행하지만 : 1- 나는 서투른 것처럼 보이거나 더 우아해질 수 있습니다. 2 방탄인지는 모르겠다.이 pointcut을 향상시킬 수있는 방법이 있습니까?
// tracing the execution of all methods except:
// - toString and descendants
// - methods identified with @NotTraced and descendants
pointcut theMethod() :
within(*.*) &&
!within(tracing.*)
&& execution(* *(..))
&& !adviceexecution()
&& !cflow(adviceexecution())
&& !execution(String *.toString())
&& !cflow(execution(String *.toString()))
&& !execution(@NotTraced * *(..))
&& !cflow(execution(@NotTraced * *(..)));
의견이 있으십니까?