mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 02:10:40 +02:00
14 lines
306 B
Java
14 lines
306 B
Java
import org.aspectj.testing.Tester;
|
|
public class EachCFlowRoot2 {
|
|
public static void main(String[] args) {
|
|
Tester.check(true, "compiled");
|
|
}
|
|
}
|
|
aspect A of eachcflow(B.pctop()) {
|
|
pointcut pc() : within(C) ;
|
|
}
|
|
aspect B {
|
|
pointcut pctop(): within(C) && !cflow(within(C));
|
|
}
|
|
class C {}
|