org.aspectj/tests/bugs/CflowConcrete.java
jhugunin 1e502f504f fix and tests for
Bugzilla Bug 36803  
   BCException thrown by AspectJ 1.1rc1
2003-04-25 18:11:33 +00:00

20 lines
491 B
Java

// for Bug#: 31423
import org.aspectj.testing.Tester;
public class CflowConcrete {
public static void main(String[] args) {
}
}
aspect TestAjc {
pointcut notMySelf(): !within(TestAjc) && !cflow(within(TestAjc));
pointcut eachCall(): notMySelf() && call(* *.*(..));
pointcut eachExecution(): notMySelf() && execution(* *.*(..)) ;
before(): eachCall() { System.out.println(thisJoinPoint); }
before(): eachExecution() { System.out.println(thisJoinPoint); }
}