aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/AdviceHandles
diff options
context:
space:
mode:
authoraclement <aclement>2008-09-17 17:15:36 +0000
committeraclement <aclement>2008-09-17 17:15:36 +0000
commit3da59f2a4d5f426b2b34335076d8a2c06d74914e (patch)
treed001423b9a7080821e47a79484296fda6ecdfe89 /tests/multiIncremental/AdviceHandles
parent282ba8f92b8c1c6061ae8e5fdd06a76b3d1b6801 (diff)
downloadaspectj-3da59f2a4d5f426b2b34335076d8a2c06d74914e.tar.gz
aspectj-3da59f2a4d5f426b2b34335076d8a2c06d74914e.zip
more jdt like handle fixes
Diffstat (limited to 'tests/multiIncremental/AdviceHandles')
-rw-r--r--tests/multiIncremental/AdviceHandles/base/src/Handles.aj45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/multiIncremental/AdviceHandles/base/src/Handles.aj b/tests/multiIncremental/AdviceHandles/base/src/Handles.aj
new file mode 100644
index 000000000..ffb9aef42
--- /dev/null
+++ b/tests/multiIncremental/AdviceHandles/base/src/Handles.aj
@@ -0,0 +1,45 @@
+package spacewar;
+
+//=Spacewar Example/src<spacewar*Handles.aj}Handles
+public aspect Handles {
+
+ // =Spacewar Example/src<spacewar*Handles.aj}Handles&before
+ before() : execution(* *..*()) {
+
+ }
+ // =Spacewar Example/src<spacewar*Handles.aj}Handles&before!2
+ before() : execution(* *..*()) {
+
+ }
+ // =Spacewar Example/src<spacewar*Handles.aj}Handles&before&I
+ before(int x) : execution(* *..*(int)) && args(x) {
+
+ }
+
+ // =Spacewar Example/src<spacewar*Handles.aj}Handles&before&I!2
+ before(int x) : execution(* *..*(int)) && args(x) {
+
+ }
+
+ // =Spacewar Example/src<spacewar*Handles.aj}Handles&after
+ after() : execution(* *..*()) {
+
+ }
+
+ // =Spacewar Example/src<spacewar*Handles.aj}Handles&afterReturning
+ after() returning() : execution(* *..*()) {
+
+ }
+
+ // =Spacewar Example/src<spacewar*Handles.aj}Handles&afterThrowing
+ after() throwing(): execution(* *..*()) {
+
+ }
+
+ // =Spacewar Example/src<spacewar*Handles.aj}Handles&afterThrowing&I
+ after(int x) throwing(): execution(* *..*(int)) && args(x) {
+
+ }
+
+}
+