aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata
diff options
context:
space:
mode:
authormkersten <mkersten>2004-10-14 21:45:07 +0000
committermkersten <mkersten>2004-10-14 21:45:07 +0000
commit4a4d4b2612ab6bbd9c82dc03b08b13f696725bf3 (patch)
tree1655439b851c7caad506cf53b8500a1a929696fd /ajde/testdata
parent0a77939b3286d5ac033797234741436c57ad202f (diff)
downloadaspectj-4a4d4b2612ab6bbd9c82dc03b08b13f696725bf3.tar.gz
aspectj-4a4d4b2612ab6bbd9c82dc03b08b13f696725bf3.zip
Added "uses pointcut" relation to the ASM.
Diffstat (limited to 'ajde/testdata')
-rw-r--r--ajde/testdata/examples/coverage/ModelCoverage.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/ajde/testdata/examples/coverage/ModelCoverage.java b/ajde/testdata/examples/coverage/ModelCoverage.java
index bbab87a2f..a853ec83d 100644
--- a/ajde/testdata/examples/coverage/ModelCoverage.java
+++ b/ajde/testdata/examples/coverage/ModelCoverage.java
@@ -142,6 +142,19 @@ abstract class ModifiersCoverage {
abstract void abstractM();
}
+aspect Pointcuts {
+ pointcut a(): call(Point.new(..));
+}
+
+aspect PointcutUsage {
+
+ pointcut usesA(): Pointcuts.a() && within(Point);
+
+ pointcut usesUsesA(): usesA();
+
+ after(): usesUsesA() { }
+}
+