diff options
Diffstat (limited to 'tests/bugs165/pr272233/Iffy2.java')
-rw-r--r-- | tests/bugs165/pr272233/Iffy2.java | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/bugs165/pr272233/Iffy2.java b/tests/bugs165/pr272233/Iffy2.java index 15a5d79fd..99dd10935 100644 --- a/tests/bugs165/pr272233/Iffy2.java +++ b/tests/bugs165/pr272233/Iffy2.java @@ -1,15 +1,24 @@ import java.util.*; import org.aspectj.lang.annotation.*; -@Aspect +@Aspect class Iffy2 { - @Before("execution(!void[] *(..))") + @Before("execution(!void *(..))") public void advice1() {} - @Before("execution(!void[] *(..))") + @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; } |