kopie van
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-03 17:56:34 +02:00
12 regels
283 B
Java
12 regels
283 B
Java
import org.aspectj.testing.Tester;
|
|
public class EachCFlowRoot1 {
|
|
public static void main(String[] args) {
|
|
Tester.check(true, "compiled");
|
|
}
|
|
}
|
|
aspect A of eachcflow(A.pctop()) {
|
|
pointcut pc() : within(C) ;
|
|
pointcut pctop(): pc() && !cflow(pc());
|
|
}
|
|
class C {}
|