diff options
Diffstat (limited to 'tests/features153/jdtlikehandleprovider/AspectOnAspectPath.aj')
-rw-r--r-- | tests/features153/jdtlikehandleprovider/AspectOnAspectPath.aj | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/features153/jdtlikehandleprovider/AspectOnAspectPath.aj b/tests/features153/jdtlikehandleprovider/AspectOnAspectPath.aj new file mode 100644 index 000000000..d111fda02 --- /dev/null +++ b/tests/features153/jdtlikehandleprovider/AspectOnAspectPath.aj @@ -0,0 +1,17 @@ +package pkg; + +public aspect AspectOnAspectPath { + + pointcut p() : call(* *.*(..)) && !within(AspectOnAspectPath); + declare warning: p() : "blah"; + + before() : p() { + } + + pointcut exec() : execution(* *.*(..)) && !within(AspectOnAspectPath); + declare warning : exec() : "blah2"; + before() : exec() { + + } + +} |