aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr119570_3/base/Complete.java
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-20 17:25:25 +0000
committeraclement <aclement>2008-08-20 17:25:25 +0000
commit99eff05ed4e0fd8b5324e035ecad48cd006930a0 (patch)
treef19a7a1d63c4daf0377ba5a645f4bee5e7d770b7 /tests/multiIncremental/pr119570_3/base/Complete.java
parent46373c59c0d02695e006d72537508ee0b52681c2 (diff)
downloadaspectj-99eff05ed4e0fd8b5324e035ecad48cd006930a0.tar.gz
aspectj-99eff05ed4e0fd8b5324e035ecad48cd006930a0.zip
119570:212783: testcases relating to not up collecting declare parents
Diffstat (limited to 'tests/multiIncremental/pr119570_3/base/Complete.java')
-rw-r--r--tests/multiIncremental/pr119570_3/base/Complete.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/multiIncremental/pr119570_3/base/Complete.java b/tests/multiIncremental/pr119570_3/base/Complete.java
new file mode 100644
index 000000000..fb34e53eb
--- /dev/null
+++ b/tests/multiIncremental/pr119570_3/base/Complete.java
@@ -0,0 +1,29 @@
+
+import java.util.ArrayList;
+
+interface INode<Parent, Child> {
+ INode<Parent, Child> getParent();
+}
+
+abstract aspect NodeImpl<Parent, Child> {
+ declare parents : Child implements INode<Parent, Child>;
+ declare parents : Parent implements INode<Parent, Child>;
+
+ private INode<Parent, Child> INode.fParent;
+ public final INode<Parent, Child> INode.getParent() {
+ return fParent;
+ }
+}
+
+aspect PC extends NodeImpl<Tag, Tag> {
+// declare parents : Tag implements INode<Tag,Tag>;
+}
+
+class Text {}
+class Tag {}
+
+public class Complete {
+ public static void main(String[] args) {
+ ((Tag) null).getParent();
+ }
+}