diff options
author | aclement <aclement> | 2010-06-11 16:35:49 +0000 |
---|---|---|
committer | aclement <aclement> | 2010-06-11 16:35:49 +0000 |
commit | 9f636c13c87ace2bf0405061f8ce99bcfc6dc649 (patch) | |
tree | 56d4371fc5170becea5c8f3cb2a2bfd0837fcbef /tests/multiIncremental/prInner2 | |
parent | b58d2c1d47be6eef0d017e45a49c27946bce4b84 (diff) | |
download | aspectj-9f636c13c87ace2bf0405061f8ce99bcfc6dc649.tar.gz aspectj-9f636c13c87ace2bf0405061f8ce99bcfc6dc649.zip |
itd inners: testcode
Diffstat (limited to 'tests/multiIncremental/prInner2')
6 files changed, 28 insertions, 0 deletions
diff --git a/tests/multiIncremental/prInner2/base/src/Aspect1.java b/tests/multiIncremental/prInner2/base/src/Aspect1.java new file mode 100644 index 000000000..99cd1794c --- /dev/null +++ b/tests/multiIncremental/prInner2/base/src/Aspect1.java @@ -0,0 +1,7 @@ +aspect Aspect1 { + public static class Vote._ { + private String s; + public _() {s="abc";} + public _(String string) {s=string;} + } +} diff --git a/tests/multiIncremental/prInner2/base/src/Aspect2.java b/tests/multiIncremental/prInner2/base/src/Aspect2.java new file mode 100644 index 000000000..15c14c512 --- /dev/null +++ b/tests/multiIncremental/prInner2/base/src/Aspect2.java @@ -0,0 +1,3 @@ +aspect Aspect2 { + public Vote._ _() { return new Vote._("abc"); } +} diff --git a/tests/multiIncremental/prInner2/base/src/Vote.java b/tests/multiIncremental/prInner2/base/src/Vote.java new file mode 100644 index 000000000..bd376d6c1 --- /dev/null +++ b/tests/multiIncremental/prInner2/base/src/Vote.java @@ -0,0 +1,6 @@ +public class Vote { + public static void main(String []argv) { + _ o = new Vote._(); + _ y = new _("abc"); + } +} diff --git a/tests/multiIncremental/prInner2/inc1/src/Aspect1.java b/tests/multiIncremental/prInner2/inc1/src/Aspect1.java new file mode 100644 index 000000000..99cd1794c --- /dev/null +++ b/tests/multiIncremental/prInner2/inc1/src/Aspect1.java @@ -0,0 +1,7 @@ +aspect Aspect1 { + public static class Vote._ { + private String s; + public _() {s="abc";} + public _(String string) {s=string;} + } +} diff --git a/tests/multiIncremental/prInner2/inc2/src/Aspect2.java b/tests/multiIncremental/prInner2/inc2/src/Aspect2.java new file mode 100644 index 000000000..15c14c512 --- /dev/null +++ b/tests/multiIncremental/prInner2/inc2/src/Aspect2.java @@ -0,0 +1,3 @@ +aspect Aspect2 { + public Vote._ _() { return new Vote._("abc"); } +} diff --git a/tests/multiIncremental/prInner2/inc3/src/Vote.java b/tests/multiIncremental/prInner2/inc3/src/Vote.java new file mode 100644 index 000000000..15050d24e --- /dev/null +++ b/tests/multiIncremental/prInner2/inc3/src/Vote.java @@ -0,0 +1,2 @@ +public class Vote { +} |