Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
12345678910111213141516171819 |
- // 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); }
- }
|