docs: @Override
      public void accept(ClassWriterOutputVisitor outputVisitor) throws IOException {
          if (annotationMetadataWriter != null) {
              annotationMetadataWriter.accept(outputVisitor);
          }
          try (OutputStream outputStream = outputVisitor.visitClass(getBeanDefinitionQualifiedClassName())) {
              ClassWriter classWriter = generateClassBytes();
              outputStream.write(classWriter.toByteArray());
          }
          outputVisitor.visitServiceDescriptor(
              BeanDefinitionReference.class,
              beanDefinitionReferenceClassName
          );
      }