public short[] asShortArray() { int length = value.length; short[] array = new short[length]; for (int i = 0; i < length; i++) { array[i] = value[i].asShort(); } return array; }
} else if (value instanceof AnnotationValue.ShortValue) { stream.writeByte(AVALUE_SHORT); stream.writePackedU32(value.asShort() & 0xFFFF); } else if (value instanceof AnnotationValue.IntegerValue) { stream.writeByte(AVALUE_INT);
} else if (value instanceof AnnotationValue.ShortValue) { stream.writeByte(AVALUE_SHORT); stream.writePackedU32(value.asShort() & 0xFFFF); } else if (value instanceof AnnotationValue.IntegerValue) { stream.writeByte(AVALUE_INT);