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.
12345678910111213141516171819202122232425 |
- import java.util.*;
- import org.aspectj.lang.annotation.*;
-
- @Aspect
- class Iffy2 {
-
- @Before("execution(!void *(..))")
- public void advice1() {}
-
- @Before("execution(!void[] *(..))")
- public void advice2() {}
-
- @Before("execution(!void *(..))")
- public void advice3() {}
-
- @Before("execution(*..Collection[] *(..))")
- public void advice4() {}
-
- @Before("execution(java.util.Collection<?>[] *(..))")
- public void advice5() {}
-
- public Collection<?>[] getCollectionArray() {
- return null;
- }
- }
|