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