aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2016-02-12 01:56:34 +0900
committerchibash <chiba@javassist.org>2016-02-12 01:56:34 +0900
commit1a33243aac567886ee4eed52b53862f3a7ca7db7 (patch)
treefdb28a8009d863e850c188c2f3c430a0f099acab /src/test/test5
parentfee5e033b303efce0cb6d9268b5361d5e1eb1974 (diff)
downloadjavassist-1a33243aac567886ee4eed52b53862f3a7ca7db7.tar.gz
javassist-1a33243aac567886ee4eed52b53862f3a7ca7db7.zip
fixes JASSIST-256, adding an annotation to a class doesn't work on reflection
Diffstat (limited to 'src/test/test5')
-rw-r--r--src/test/test5/Entity.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/test5/Entity.java b/src/test/test5/Entity.java
new file mode 100644
index 00000000..1060c848
--- /dev/null
+++ b/src/test/test5/Entity.java
@@ -0,0 +1,9 @@
+package test5;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Entity {
+ int[] value();
+}