@Deprecated
  public static Optional<AnnotationSpec> generatedAnnotationSpec(
      Elements elements, Class<?> processorClass, String comments) {
    return generatedAnnotationSpecBuilder(elements, processorClass)
        .map(annotation -> annotation.addMember("comments", "$S", comments).build());
  }
Returns {@code @Generated(value = "processorClass", comments = "comments")} if either {@code
javax.annotation.processing.Generated} or {@code javax.annotation.Generated} is {@linkplain
GeneratedAnnotations#generatedAnnotation(Elements) available at compile time}.

@deprecated prefer {@link #generatedAnnotationSpec(Elements, SourceVersion, Class, String)}
common/src/main/java/com/google/auto/common/GeneratedAnnotationSpecs.java