diff options
author | aclement <aclement> | 2006-10-06 16:29:03 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-10-06 16:29:03 +0000 |
commit | d532892d89865511ea39286e4ebd34fc20b96a5d (patch) | |
tree | 6c6eeb9ba24b7afe1686603984763a729bc7b32a /tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj | |
parent | 2883a55829716132efcf288acec08bf3ab6826a7 (diff) | |
download | aspectj-d532892d89865511ea39286e4ebd34fc20b96a5d.tar.gz aspectj-d532892d89865511ea39286e4ebd34fc20b96a5d.zip |
tests and fixes for jdtlikehandleprovider, bug 159896
Diffstat (limited to 'tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj')
-rw-r--r-- | tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj b/tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj new file mode 100644 index 000000000..d1b94b9c7 --- /dev/null +++ b/tests/features153/jdtlikehandleprovider/DeclareAndInjar.aj @@ -0,0 +1,9 @@ +public aspect DeclareAndInjar { + + pointcut p() : call(* *.*(..)) && !within(DeclareAndInjar); + declare warning: p() : "warning"; + + pointcut exec() : execution(* *.*(..)) && !within(DeclareAndInjar); + declare error : exec() : "error"; + +} |