Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] why this cflow put counters in aspect itself?

package mypackage;

aspect MyAspect {

    pointcut singleStep(): !within(mypackage..*) && cflow(call(* *(..))) && !execution(* *(..));

before(): singleStep() {
    System.out.println(thisJoinPointStaticPart);
}
}

This aspect works fine at runtime.  But when I opened the MyAspect.class in decompile tool, I saw some instrumented ajc$cflowCounter$0.inc() around my println()

 


Back to the top