summaryrefslogtreecommitdiffstats
path: root/tests/features167/overweaving/cflow/A.aj
diff options
context:
space:
mode:
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);
+ }
+
+}