public static ImmutableList<Long> getLongs(AnnotationValue value) {
    return LONGS_VISITOR.visit(value);
  }
Returns the value as a list of longs.

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