summaryrefslogtreecommitdiffstats
path: root/tests/java5/covariance/CovAspect09.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/covariance/CovAspect09.aj')
-rw-r--r--tests/java5/covariance/CovAspect09.aj10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/java5/covariance/CovAspect09.aj b/tests/java5/covariance/CovAspect09.aj
new file mode 100644
index 000000000..6a3497048
--- /dev/null
+++ b/tests/java5/covariance/CovAspect09.aj
@@ -0,0 +1,10 @@
+aspect CovAspect09 {
+
+ pointcut p1(): call(FastCar Super.getCar());
+
+ before(): p1() {
+ System.out.println("[call(FastCar Super.getCar()) matched on '"+thisJoinPoint+":"+thisJoinPoint.getSourceLocation()+"']");
+ }
+
+}
+