diff options
author | aclement <aclement> | 2009-09-08 20:58:31 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-09-08 20:58:31 +0000 |
commit | 21acc37186a54ed6293634acf43072298377b679 (patch) | |
tree | f36bede99d1a453ccc2aca0a808cf3732303efe3 /tests/bugs166 | |
parent | b7c2c83e419e9db51130e169acade68a7d0d0599 (diff) | |
download | aspectj-21acc37186a54ed6293634acf43072298377b679.tar.gz aspectj-21acc37186a54ed6293634acf43072298377b679.zip |
288049: wrong message for wildcarded dec anno: fix
Diffstat (limited to 'tests/bugs166')
-rw-r--r-- | tests/bugs166/pr288049/org/othtests/AddSomeAnnotation.java | 7 | ||||
-rw-r--r-- | tests/bugs166/pr288049/org/othtests/MyClass.java | 5 | ||||
-rw-r--r-- | tests/bugs166/pr288049/org/othtests/MySubClass.java | 13 |
3 files changed, 25 insertions, 0 deletions
diff --git a/tests/bugs166/pr288049/org/othtests/AddSomeAnnotation.java b/tests/bugs166/pr288049/org/othtests/AddSomeAnnotation.java new file mode 100644 index 000000000..7960a93f0 --- /dev/null +++ b/tests/bugs166/pr288049/org/othtests/AddSomeAnnotation.java @@ -0,0 +1,7 @@ +package org.othtests; + +public aspect AddSomeAnnotation { + + declare @method : public String MyClass+.do*(..) : @Deprecated; + +} diff --git a/tests/bugs166/pr288049/org/othtests/MyClass.java b/tests/bugs166/pr288049/org/othtests/MyClass.java new file mode 100644 index 000000000..5b32b2af9 --- /dev/null +++ b/tests/bugs166/pr288049/org/othtests/MyClass.java @@ -0,0 +1,5 @@ +package org.othtests; + +public class MyClass { + +} diff --git a/tests/bugs166/pr288049/org/othtests/MySubClass.java b/tests/bugs166/pr288049/org/othtests/MySubClass.java new file mode 100644 index 000000000..e99d99826 --- /dev/null +++ b/tests/bugs166/pr288049/org/othtests/MySubClass.java @@ -0,0 +1,13 @@ +package org.othtests; + +public class MySubClass extends MyClass { + + public String doOne() { + return "one"; + } + + public String doTwo() { + return "two"; + } + +} |