public static ImmutableList<Short> getShorts(AnnotationValue value) {
    return SHORTS_VISITOR.visit(value);
  }
Returns the value as a list of shorts.

@throws IllegalArgumentException if the value is not an array of shorts.
common/src/main/java/com/google/auto/common/AnnotationValues.java