aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test3/AnnoTest.java
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2011-08-31 10:29:34 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2011-08-31 10:29:34 +0000
commitd72870bfb6b09927e10944bdd129ce18dfcf7366 (patch)
tree27f56e4d1523a8cecc8976df60155e6b8429e504 /src/test/test3/AnnoTest.java
parent76a1cba9c433e8242bb6648e72b3ed43c7a4995a (diff)
downloadjavassist-d72870bfb6b09927e10944bdd129ce18dfcf7366.tar.gz
javassist-d72870bfb6b09927e10944bdd129ce18dfcf7366.zip
JvstTest test case.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@589 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/test/test3/AnnoTest.java')
-rw-r--r--src/test/test3/AnnoTest.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/test3/AnnoTest.java b/src/test/test3/AnnoTest.java
new file mode 100644
index 00000000..072a0ce2
--- /dev/null
+++ b/src/test/test3/AnnoTest.java
@@ -0,0 +1,21 @@
+package test3;
+
+@Anno()
+public class AnnoTest {}
+
+@Anno(c='a', bool=false, b=11, s=12, i=13, j=14L, f=15.0F, d=16.0,
+ str="17", clazz=String.class, anno2=@Anno2(i={11, 12, 13}))
+class AnnoTest2 {}
+
+@Anno() @Anno2(i={1})
+class AnnoTest3 {}
+
+@Anno() @Anno2() @Anno3()
+class AnnoTest4 {}
+
+class AnnoTest5 {
+ @Anno()
+ void foo() {}
+
+ @Anno2() int bar;
+} \ No newline at end of file