diff options
author | acolyer <acolyer> | 2005-08-04 13:19:47 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-04 13:19:47 +0000 |
commit | 7b2bd108b72dbe26c15be6e976fc499e0d8759fc (patch) | |
tree | 777c08df5b238b403e1ec7fe21de85a9633aaad3 /tests/java5/bridgeMethods | |
parent | 7c1a5d72a8549771b076af20b4caff8e1da903bd (diff) | |
download | aspectj-7b2bd108b72dbe26c15be6e976fc499e0d8759fc.tar.gz aspectj-7b2bd108b72dbe26c15be6e976fc499e0d8759fc.zip |
improved and additional signature matching tests
Diffstat (limited to 'tests/java5/bridgeMethods')
-rw-r--r-- | tests/java5/bridgeMethods/AspectX.aj | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/java5/bridgeMethods/AspectX.aj b/tests/java5/bridgeMethods/AspectX.aj index fb4827023..12ecf12fc 100644 --- a/tests/java5/bridgeMethods/AspectX.aj +++ b/tests/java5/bridgeMethods/AspectX.aj @@ -4,11 +4,11 @@ public aspect AspectX { static Set matchedJps = new HashSet();
- before(): call(* compareTo(..)) {
+ before(): call(* Number.compareTo(..)) {
matchedJps.add(new String("call() matched on "+thisJoinPoint.toString()));
}
- before(): execution(* compareTo(..)) {
+ before(): execution(* Number.compareTo(..)) {
matchedJps.add(new String("execution() matched on "+thisJoinPoint.toString()));
}
@@ -22,7 +22,7 @@ public aspect AspectX { n1.compareTo("abc");
^
1 error
- */
+ */
Iterator i = matchedJps.iterator();
while (i.hasNext()) {
|