diff options
author | aclement <aclement> | 2009-08-13 17:29:15 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-08-13 17:29:15 +0000 |
commit | 7f3501bfabd4c8b305ca7b0b750b5a6713b9735b (patch) | |
tree | 7d2f2ab8c4e62fe6d5cba13a63790615d502135d /tests/multiIncremental/pr286539 | |
parent | 64f0ff99ca52e37298666b1ef7f8d5ef0bc8caa4 (diff) | |
download | aspectj-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.java | 26 |
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() {} +} |