summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/examples
diff options
context:
space:
mode:
Diffstat (limited to 'ajde/testdata/examples')
-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() { }
+}
+