|
|
|
@ -16,16 +16,16 @@ public @interface MoreAnnotations { |
|
|
|
|
Class<? extends CharSequence> classValue() default CharSequence.class; |
|
|
|
|
|
|
|
|
|
int[] intArray() default { 1, 0, Integer.MAX_VALUE, Integer.MIN_VALUE }; |
|
|
|
|
byte[] byteArray() default { 1, 0, Byte.MAX_VALUE, Byte.MIN_VALUE }; |
|
|
|
|
byte[] byteArray() default { 1, 0, Byte.MAX_VALUE, Byte.MIN_VALUE, (byte)0xFF }; |
|
|
|
|
float[] floatArray() default { 1, 0, Float.MAX_VALUE, Float.MIN_VALUE, Float.NaN, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY }; |
|
|
|
|
double[] doubleArray() default { 1, 0, Double.MAX_VALUE, Double.MIN_VALUE, Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY }; |
|
|
|
|
boolean[] booleanArray() default { true, false }; |
|
|
|
|
short[] shortArray() default { 1, 0, Short.MAX_VALUE, Short.MIN_VALUE }; |
|
|
|
|
short[] shortArray() default { 1, 0, Short.MAX_VALUE, Short.MIN_VALUE, (short)0xFFFF }; |
|
|
|
|
long[] longArray() default { 1, 0, Long.MAX_VALUE, Long.MIN_VALUE }; |
|
|
|
|
char[] charArray() default { 1, 0, Character.MAX_VALUE, Character.MIN_VALUE }; |
|
|
|
|
TestEnum[] enumArray() default { TestEnum.FirstValue }; |
|
|
|
|
NestedAnnotation[] annotationArray() default { @NestedAnnotation }; |
|
|
|
|
String[] stringArray() default { "first", "second", ""}; |
|
|
|
|
String[] stringArray() default { "first", "second", "" }; |
|
|
|
|
Class<? extends CharSequence>[] classArray() default { CharSequence.class, String.class, StringBuilder.class }; |
|
|
|
|
|
|
|
|
|
@interface NestedAnnotation { |
|
|
|
@ -66,16 +66,16 @@ public @interface MoreAnnotations { |
|
|
|
|
|
|
|
|
|
@MoreAnnotations( |
|
|
|
|
intArray = { 1, 0, Integer.MAX_VALUE, Integer.MIN_VALUE }, |
|
|
|
|
byteArray = { 1, 0, Byte.MAX_VALUE, Byte.MIN_VALUE }, |
|
|
|
|
byteArray = { 1, 0, Byte.MAX_VALUE, Byte.MIN_VALUE, (byte)0xFF }, |
|
|
|
|
floatArray = { 1, 0, Float.MAX_VALUE, Float.MIN_VALUE, Float.NaN, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY }, |
|
|
|
|
doubleArray = { 1, 0, Double.MAX_VALUE, Double.MIN_VALUE, Double.NaN, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY }, |
|
|
|
|
booleanArray = { true, false }, |
|
|
|
|
shortArray = { 1, 0, Short.MAX_VALUE, Short.MIN_VALUE }, |
|
|
|
|
shortArray = { 1, 0, Short.MAX_VALUE, Short.MIN_VALUE, (short)0xFFFF }, |
|
|
|
|
longArray = { 1, 0, Long.MAX_VALUE, Long.MIN_VALUE }, |
|
|
|
|
charArray = { 'a', '\n', 1, 0, Character.MAX_VALUE, Character.MIN_VALUE }, |
|
|
|
|
enumArray = { TestEnum.FirstValue , TestEnum.SecondValue}, |
|
|
|
|
enumArray = { TestEnum.FirstValue , TestEnum.SecondValue }, |
|
|
|
|
annotationArray = { @NestedAnnotation("a"), @NestedAnnotation("b") }, |
|
|
|
|
stringArray = { "first", "second", ""}, |
|
|
|
|
stringArray = { "first", "second", "" }, |
|
|
|
|
classArray = { CharSequence.class, String.class, StringBuilder.class } |
|
|
|
|
) |
|
|
|
|
String annotatedWithArrays = ""; |
|
|
|
|