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.
123456789101112131415161718192021 |
- // Aspect should be built with AspectJ 1.2.0 into aspects120.jar
- // We are testing the new AspectJ can recognize old aspects
-
- public aspect Aspect120 {
-
- pointcut anyMethodCall(): execution(* main(..));
-
- pointcut setIntField(): set(int *);
-
- pointcut complex(): call(* *(..)) && cflow(execution(* toplevel(..)));
-
- pointcut moreComplex(): call(* *(..)) && !(call(* foo*(..)) || call(* bar*(..)));
-
- before(): complex() { }
-
- after(): complex() { }
-
- void around(): anyMethodCall() {
- proceed();
- }
- }
|