summaryrefslogtreecommitdiffstats
path: root/ajde/testdata
diff options
context:
space:
mode:
authormkersten <mkersten>2003-08-08 14:59:46 +0000
committermkersten <mkersten>2003-08-08 14:59:46 +0000
commitf7944d2c68e8561e12498c006729c6c341b657f7 (patch)
tree205af60b87fa308248a3d01694a9685a53260fe8 /ajde/testdata
parent555d9cd8fec8a2c0bc3daac63123a9bea941a912 (diff)
downloadaspectj-f7944d2c68e8561e12498c006729c6c341b657f7.tar.gz
aspectj-f7944d2c68e8561e12498c006729c6c341b657f7.zip
First pass at new relationship API support.
Diffstat (limited to 'ajde/testdata')
-rw-r--r--ajde/testdata/examples/coverage/ModelCoverage.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/ajde/testdata/examples/coverage/ModelCoverage.java b/ajde/testdata/examples/coverage/ModelCoverage.java
index 2ba60fbf0..8066ca751 100644
--- a/ajde/testdata/examples/coverage/ModelCoverage.java
+++ b/ajde/testdata/examples/coverage/ModelCoverage.java
@@ -2,7 +2,6 @@
import java.io.*;
class Point {
-
int x;
static int sx;
@@ -36,7 +35,10 @@ class SubPoint extends Point { }
class Line { }
-aspect AdvisesRelationCoverage {
+aspect AdvisesRelationshipCoverage {
+ pointcut executionP(): execution(void Point.setX(int));
+ before(): executionP() { }
+
before(): execution(*..*.new(..)) { }
before(): get(int *.*) { }
before(): set(int *.*) { }