aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testdata/SimpleAnnotation.java
diff options
context:
space:
mode:
authoraclement <aclement>2004-12-07 09:41:57 +0000
committeraclement <aclement>2004-12-07 09:41:57 +0000
commit4273a2ddbf02819eb52e4fbbbe84a1e0ee4059ae (patch)
treeacdce12069a3cc4126806ee3a8b15f3260a79313 /weaver/testdata/SimpleAnnotation.java
parentc951bf5943413f8cead4888053ca5f77bef0e0ca (diff)
downloadaspectj-4273a2ddbf02819eb52e4fbbbe84a1e0ee4059ae.tar.gz
aspectj-4273a2ddbf02819eb52e4fbbbe84a1e0ee4059ae.zip
Annotation Matching - test code
Diffstat (limited to 'weaver/testdata/SimpleAnnotation.java')
-rw-r--r--weaver/testdata/SimpleAnnotation.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/weaver/testdata/SimpleAnnotation.java b/weaver/testdata/SimpleAnnotation.java
new file mode 100644
index 000000000..5b4303755
--- /dev/null
+++ b/weaver/testdata/SimpleAnnotation.java
@@ -0,0 +1,7 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface SimpleAnnotation {
+ int id();
+ String fruit() default "bananas";
+}