public static short getShort(AnnotationValue value) {
    return valueOfType(value, Short.class);
  }
Returns the value as a short.

@throws IllegalArgumentException if the value is not a short.
common/src/main/java/com/google/auto/common/AnnotationValues.java