diff options
Diffstat (limited to 'src/test/test3/Anno2.java')
-rw-r--r-- | src/test/test3/Anno2.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/test3/Anno2.java b/src/test/test3/Anno2.java new file mode 100644 index 0000000..627c053 --- /dev/null +++ b/src/test/test3/Anno2.java @@ -0,0 +1,11 @@ +package test3; + +import java.lang.annotation.*; + +@Retention(RetentionPolicy.RUNTIME) +public @interface Anno2 { + int[] i() default { 1, 2, 3 }; + String[] str() default { "a", "b", "c" }; + ColorName color() default ColorName.RED; + ColorName[] color2() default { ColorName.BLUE }; +} |