code: public void accept(ClassWriterOutputVisitor outputVisitor) throws IOException {
          try (OutputStream outputStream = outputVisitor.visitClass(className)) {
              ClassWriter classWriter = generateClassBytes();
              outputStream.write(classWriter.toByteArray());
          }
      }
docs: Accept an {@link ClassWriterOutputVisitor} to write all generated classes.
  
  @param outputVisitor The {@link ClassWriterOutputVisitor}
  @throws IOException If an error occurs