aboutsummaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authoracolyer <acolyer>2003-02-26 22:06:59 +0000
committeracolyer <acolyer>2003-02-26 22:06:59 +0000
commit2eb753a83ebccdf88026e6003ecff1f73e022700 (patch)
treecdbad8a215b85adaed212d296b22bcc3db6d17ba /ajde
parent153b981aa2a3a3b9519d132fc7af65b671c96e68 (diff)
downloadaspectj-2eb753a83ebccdf88026e6003ecff1f73e022700.tar.gz
aspectj-2eb753a83ebccdf88026e6003ecff1f73e022700.zip
Edited (and then restored) iilegalNewFigElt pointcut
to trap declare error task generation
Diffstat (limited to 'ajde')
-rw-r--r--ajde/testdata/examples/figures-coverage/figures/Figure.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/ajde/testdata/examples/figures-coverage/figures/Figure.java b/ajde/testdata/examples/figures-coverage/figures/Figure.java
index e7f5da0c8..b5e0e246a 100644
--- a/ajde/testdata/examples/figures-coverage/figures/Figure.java
+++ b/ajde/testdata/examples/figures-coverage/figures/Figure.java
@@ -79,9 +79,11 @@ aspect Figure {
}
aspect Checks {
- pointcut illegalNewFigElt(): call(FigureElement+.new(..)) &&
+ pointcut illegalNewFigElt(): call(FigureElement+.new(..)) &&
!withincode(* Main.main(..));
+// pointcut illegalNewFigElt(): execution(FigureElement+.new(..));
+
declare error: illegalNewFigElt():
"Illegal figure element constructor call.";