diff options
author | aclement <aclement> | 2005-02-17 15:06:17 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-02-17 15:06:17 +0000 |
commit | fd3129964398cbaf66f3ae3c5e3c75ebf7f3a34b (patch) | |
tree | d4e0710d100d2ed0eefa7abef566dadb6d24f731 /tests/java5/varargs | |
parent | 2eb9dd812120f6e8fbfbf59c31ee16d2ff68b032 (diff) | |
download | aspectj-fd3129964398cbaf66f3ae3c5e3c75ebf7f3a34b.tar.gz aspectj-fd3129964398cbaf66f3ae3c5e3c75ebf7f3a34b.zip |
Updated with suppression attribute for non-matching advice.
Diffstat (limited to 'tests/java5/varargs')
-rw-r--r-- | tests/java5/varargs/VarargsAspect01.aj | 1 | ||||
-rw-r--r-- | tests/java5/varargs/VarargsAspect02.aj | 1 | ||||
-rw-r--r-- | tests/java5/varargs/VarargsAspect03.aj | 1 | ||||
-rw-r--r-- | tests/java5/varargs/VarargsAspect04.aj | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/java5/varargs/VarargsAspect01.aj b/tests/java5/varargs/VarargsAspect01.aj index 8b30c7017..2025150f2 100644 --- a/tests/java5/varargs/VarargsAspect01.aj +++ b/tests/java5/varargs/VarargsAspect01.aj @@ -1,5 +1,6 @@ public aspect VarargsAspect01 {
+ @org.aspectj.lang.annotation.SuppressAjWarnings
before(): call(* *(Integer[])) { }
}
diff --git a/tests/java5/varargs/VarargsAspect02.aj b/tests/java5/varargs/VarargsAspect02.aj index a64b7462d..5385942eb 100644 --- a/tests/java5/varargs/VarargsAspect02.aj +++ b/tests/java5/varargs/VarargsAspect02.aj @@ -1,5 +1,6 @@ public aspect VarargsAspect02 {
+ @org.aspectj.lang.annotation.SuppressAjWarnings
before(): execution(* *(Integer[])) { }
}
diff --git a/tests/java5/varargs/VarargsAspect03.aj b/tests/java5/varargs/VarargsAspect03.aj index c1b37e1bf..430d1dcd4 100644 --- a/tests/java5/varargs/VarargsAspect03.aj +++ b/tests/java5/varargs/VarargsAspect03.aj @@ -1,5 +1,6 @@ public aspect VarargsAspect03 {
+ @org.aspectj.lang.annotation.SuppressAjWarnings
before(): initialization(new(Integer[])) { }
}
diff --git a/tests/java5/varargs/VarargsAspect04.aj b/tests/java5/varargs/VarargsAspect04.aj index 1eb425536..35d0e36ec 100644 --- a/tests/java5/varargs/VarargsAspect04.aj +++ b/tests/java5/varargs/VarargsAspect04.aj @@ -1,5 +1,6 @@ public aspect VarargsAspect04 {
+ @org.aspectj.lang.annotation.SuppressAjWarnings
before(): withincode(* *(Integer[])) && call(* *(..)) { }
}
|