diff options
author | aclement <aclement> | 2004-12-08 10:25:38 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-12-08 10:25:38 +0000 |
commit | 963dcf64db82ee2ecc7cfa82e7c9a33894c65845 (patch) | |
tree | 5138dfb2f38e8ba776a13ed0b35f0d5f66984112 /weaver | |
parent | 7fc015eda24931c4d1c490fc2d1057170bdf85bc (diff) | |
download | aspectj-963dcf64db82ee2ecc7cfa82e7c9a33894c65845.tar.gz aspectj-963dcf64db82ee2ecc7cfa82e7c9a33894c65845.zip |
Annotation matching.
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/testdata/AnnotatedClass.java | 2 | ||||
-rw-r--r-- | weaver/testdata/Boo.java | 6 | ||||
-rw-r--r-- | weaver/testdata/Foo.java | 6 | ||||
-rw-r--r-- | weaver/testdata/Goo.java | 6 | ||||
-rw-r--r-- | weaver/testdata/SimpleAnnotation.java | 1 | ||||
-rw-r--r-- | weaver/testdata/testcode.jar | bin | 817 -> 1859 bytes |
6 files changed, 21 insertions, 0 deletions
diff --git a/weaver/testdata/AnnotatedClass.java b/weaver/testdata/AnnotatedClass.java index 0c9429bde..f9eea83f4 100644 --- a/weaver/testdata/AnnotatedClass.java +++ b/weaver/testdata/AnnotatedClass.java @@ -1,3 +1,5 @@ +import p.SimpleAnnotation; + @SimpleAnnotation(id=2) public class AnnotatedClass { diff --git a/weaver/testdata/Boo.java b/weaver/testdata/Boo.java new file mode 100644 index 000000000..f984203f6 --- /dev/null +++ b/weaver/testdata/Boo.java @@ -0,0 +1,6 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface Boo { + String landmark(); +} diff --git a/weaver/testdata/Foo.java b/weaver/testdata/Foo.java new file mode 100644 index 000000000..27be9bbd9 --- /dev/null +++ b/weaver/testdata/Foo.java @@ -0,0 +1,6 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface Foo { + String color(); +} diff --git a/weaver/testdata/Goo.java b/weaver/testdata/Goo.java new file mode 100644 index 000000000..2faa189d9 --- /dev/null +++ b/weaver/testdata/Goo.java @@ -0,0 +1,6 @@ +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface Goo { + String weather(); +} diff --git a/weaver/testdata/SimpleAnnotation.java b/weaver/testdata/SimpleAnnotation.java index 5b4303755..f0e8c8435 100644 --- a/weaver/testdata/SimpleAnnotation.java +++ b/weaver/testdata/SimpleAnnotation.java @@ -1,3 +1,4 @@ +package p; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) diff --git a/weaver/testdata/testcode.jar b/weaver/testdata/testcode.jar Binary files differindex 45e0d8e78..4e0ff654e 100644 --- a/weaver/testdata/testcode.jar +++ b/weaver/testdata/testcode.jar |