docs: @Deprecated
    public static Optional<TypeElement> generatedAnnotation(Elements elements) {
      TypeElement jdk9Generated = elements.getTypeElement("javax.annotation.processing.Generated");
      if (jdk9Generated != null) {
        return Optional.of(jdk9Generated);
      }
      return Optional.ofNullable(elements.getTypeElement("javax.annotation.Generated"));
    }