summaryrefslogtreecommitdiffstats
path: root/tests/features167/overweaving/cflow/A.aj
diff options
context:
space:
mode:
authoraclement <aclement>2009-10-31 17:14:35 +0000
committeraclement <aclement>2009-10-31 17:14:35 +0000
commit657bba8c14a09313dddecf3a37f38cb33aec72a6 (patch)
tree3e4c3c51ae3a6fad2fd558451ff1af7c14e970b5 /tests/features167/overweaving/cflow/A.aj
parentfb90e0701976ec104659a4903e218861196d7ce9 (diff)
downloadaspectj-657bba8c14a09313dddecf3a37f38cb33aec72a6.tar.gz
aspectj-657bba8c14a09313dddecf3a37f38cb33aec72a6.zip
overweaving: testcode
Diffstat (limited to 'tests/features167/overweaving/cflow/A.aj')
-rw-r--r--tests/features167/overweaving/cflow/A.aj16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/features167/overweaving/cflow/A.aj b/tests/features167/overweaving/cflow/A.aj
new file mode 100644
index 000000000..961f489c1
--- /dev/null
+++ b/tests/features167/overweaving/cflow/A.aj
@@ -0,0 +1,16 @@
+package com.andy;
+
+@interface Anno {}
+
+aspect A {
+ declare @type: com.andy.C: @Anno;
+
+ int C.i = 5;
+
+ public void C.m() {}
+
+ before(): execution(* C.main(..)) {
+ System.out.println("AspectA>>"+thisJoinPointStaticPart);
+ }
+
+}