docs: @Deprecated
    public static Optional<AnnotationSpec> generatedAnnotationSpec(
        Elements elements, Class<?> processorClass) {
      return generatedAnnotationSpecBuilder(elements, processorClass)
          .map(AnnotationSpec.Builder::build);
    }