aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr286539
diff options
context:
space:
mode:
authoraclement <aclement>2009-08-13 17:29:15 +0000
committeraclement <aclement>2009-08-13 17:29:15 +0000
commit7f3501bfabd4c8b305ca7b0b750b5a6713b9735b (patch)
tree7d2f2ab8c4e62fe6d5cba13a63790615d502135d /tests/multiIncremental/pr286539
parent64f0ff99ca52e37298666b1ef7f8d5ef0bc8caa4 (diff)
downloadaspectj-7f3501bfabd4c8b305ca7b0b750b5a6713b9735b.tar.gz
aspectj-7f3501bfabd4c8b305ca7b0b750b5a6713b9735b.zip
286539: test and fix (decanno type in model)
Diffstat (limited to 'tests/multiIncremental/pr286539')
-rw-r--r--tests/multiIncremental/pr286539/base/src/p/q/Aspect.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/multiIncremental/pr286539/base/src/p/q/Aspect.java b/tests/multiIncremental/pr286539/base/src/p/q/Aspect.java
new file mode 100644
index 000000000..5b33da10d
--- /dev/null
+++ b/tests/multiIncremental/pr286539/base/src/p/q/Aspect.java
@@ -0,0 +1,26 @@
+package p.q.r;
+import java.lang.annotation.*;
+
+aspect Asp {
+
+declare parents: C implements p.q.r.Int;
+declare parents: C implements Int;
+declare @type: C: @Foo;
+declare @type: C: @p.q.r.Goo;
+
+declare @field: int C.i: @Foo;
+declare @method: void C.m(): @Foo;
+declare @constructor: new(): @Foo;
+
+}
+
+@Retention(RetentionPolicy.RUNTIME) @interface Foo {}
+@Retention(RetentionPolicy.RUNTIME) @interface Goo {}
+
+interface Int {}
+
+class C {
+ int i;
+ void m() {}
+ C() {}
+}