aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'taskdefs/testdata')
-rw-r--r--taskdefs/testdata/DoSomeWeaving.java16
-rw-r--r--taskdefs/testdata/showweaveinfo.lst1
2 files changed, 17 insertions, 0 deletions
diff --git a/taskdefs/testdata/DoSomeWeaving.java b/taskdefs/testdata/DoSomeWeaving.java
new file mode 100644
index 000000000..352602d00
--- /dev/null
+++ b/taskdefs/testdata/DoSomeWeaving.java
@@ -0,0 +1,16 @@
+class DoSomeWeaving {
+ public static void main(String[] argv) {
+ new DoSomeWeaving().sayHi();
+ }
+
+
+ public void sayHi() {
+ System.err.println("hi");
+ }
+}
+
+aspect A1 {
+ before(): call(* *(..)) && !within(A1) {
+ System.err.println("Just about to make a call");
+ }
+}
diff --git a/taskdefs/testdata/showweaveinfo.lst b/taskdefs/testdata/showweaveinfo.lst
new file mode 100644
index 000000000..f1ef82dfe
--- /dev/null
+++ b/taskdefs/testdata/showweaveinfo.lst
@@ -0,0 +1 @@
+DoSomeWeaving.java