diff options
author | Andy Clement <aclement@pivotal.io> | 2019-01-21 09:47:07 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2019-01-21 09:47:07 -0800 |
commit | f6d0013eb2cddf9946ab07d0a4e129cc9c0869bb (patch) | |
tree | f4fa892a551e387b613b274a4942a942b68e6a9f /tests/bugs193/389678/OverWeave_1 | |
parent | c194226895d50a9620cfe272e4e269625fa4bfd3 (diff) | |
download | aspectj-f6d0013eb2cddf9946ab07d0a4e129cc9c0869bb.tar.gz aspectj-f6d0013eb2cddf9946ab07d0a4e129cc9c0869bb.zip |
389678: overweaving test resources
Diffstat (limited to 'tests/bugs193/389678/OverWeave_1')
-rw-r--r-- | tests/bugs193/389678/OverWeave_1/src/Application.java | 9 | ||||
-rw-r--r-- | tests/bugs193/389678/OverWeave_1/src/MyAspect.aj | 5 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs193/389678/OverWeave_1/src/Application.java b/tests/bugs193/389678/OverWeave_1/src/Application.java new file mode 100644 index 000000000..1d98f01e7 --- /dev/null +++ b/tests/bugs193/389678/OverWeave_1/src/Application.java @@ -0,0 +1,9 @@ +public class Application {
+ public static void main(String[] args) {
+ sayHelloTo("world");
+ }
+
+ public static void sayHelloTo(String subject) {
+ System.out.println("Hello " + subject + "!");
+ }
+}
diff --git a/tests/bugs193/389678/OverWeave_1/src/MyAspect.aj b/tests/bugs193/389678/OverWeave_1/src/MyAspect.aj new file mode 100644 index 000000000..cb9d42081 --- /dev/null +++ b/tests/bugs193/389678/OverWeave_1/src/MyAspect.aj @@ -0,0 +1,5 @@ +public aspect MyAspect {
+ before() : execution(* Application.*(..)) {
+ System.out.println(this.getClass().getName() + " -> " + thisJoinPointStaticPart);
+ }
+}
|