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