diff options
Diffstat (limited to 'tests/features153/jdtlikehandleprovider/HandleProvider.aj')
-rw-r--r-- | tests/features153/jdtlikehandleprovider/HandleProvider.aj | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/features153/jdtlikehandleprovider/HandleProvider.aj b/tests/features153/jdtlikehandleprovider/HandleProvider.aj new file mode 100644 index 000000000..ec492202a --- /dev/null +++ b/tests/features153/jdtlikehandleprovider/HandleProvider.aj @@ -0,0 +1,21 @@ +aspect TwoNamedPointcuts { + + pointcut p1() : execution(* C.method1()); + + pointcut p2() : execution(* C.method2()); + + before() : p1() || p2() { + System.out.println("before..."); + } + +} + +class C { + + public void method1() { + } + + public void method2() { + } + +} |