aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/testdata/incTest/src
diff options
context:
space:
mode:
Diffstat (limited to 'taskdefs/testdata/incTest/src')
-rw-r--r--taskdefs/testdata/incTest/src/TraceMains.java14
-rw-r--r--taskdefs/testdata/incTest/src/packageOne/Main.java8
2 files changed, 22 insertions, 0 deletions
diff --git a/taskdefs/testdata/incTest/src/TraceMains.java b/taskdefs/testdata/incTest/src/TraceMains.java
new file mode 100644
index 000000000..acf94be57
--- /dev/null
+++ b/taskdefs/testdata/incTest/src/TraceMains.java
@@ -0,0 +1,14 @@
+
+public aspect TraceMains {
+
+
+ before() : execution(static void main(String[])) {
+ String m = thisJoinPointStaticPart.getSignature().toString();
+ System.out.println("before " + m);
+ }
+ after() returning: execution(static void main(String[])) {
+ String m = thisJoinPointStaticPart.getSignature().toString();
+ System.out.println("after " + m);
+ }
+
+} \ No newline at end of file
diff --git a/taskdefs/testdata/incTest/src/packageOne/Main.java b/taskdefs/testdata/incTest/src/packageOne/Main.java
new file mode 100644
index 000000000..278614543
--- /dev/null
+++ b/taskdefs/testdata/incTest/src/packageOne/Main.java
@@ -0,0 +1,8 @@
+
+package packageOne;
+
+public class Main {
+ public static void main(String[] args) {
+ System.out.println("in packageOne.Main.main(..)");
+ }
+} \ No newline at end of file