aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/covariance/CovAspect09.aj
diff options
context:
space:
mode:
authoraclement <aclement>2005-02-17 15:06:17 +0000
committeraclement <aclement>2005-02-17 15:06:17 +0000
commitfd3129964398cbaf66f3ae3c5e3c75ebf7f3a34b (patch)
treed4e0710d100d2ed0eefa7abef566dadb6d24f731 /tests/java5/covariance/CovAspect09.aj
parent2eb9dd812120f6e8fbfbf59c31ee16d2ff68b032 (diff)
downloadaspectj-fd3129964398cbaf66f3ae3c5e3c75ebf7f3a34b.tar.gz
aspectj-fd3129964398cbaf66f3ae3c5e3c75ebf7f3a34b.zip
Updated with suppression attribute for non-matching advice.
Diffstat (limited to 'tests/java5/covariance/CovAspect09.aj')
-rw-r--r--tests/java5/covariance/CovAspect09.aj1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/java5/covariance/CovAspect09.aj b/tests/java5/covariance/CovAspect09.aj
index 6a3497048..aad549dd3 100644
--- a/tests/java5/covariance/CovAspect09.aj
+++ b/tests/java5/covariance/CovAspect09.aj
@@ -2,6 +2,7 @@ aspect CovAspect09 {
pointcut p1(): call(FastCar Super.getCar());
+ @org.aspectj.lang.annotation.SuppressAjWarnings
before(): p1() {
System.out.println("[call(FastCar Super.getCar()) matched on '"+thisJoinPoint+":"+thisJoinPoint.getSourceLocation()+"']");
}