docs: static void writeClassToFile(String className, ClassWriter classWriter, String apiName){
          classWriter.visitEnd();
  
          byte[] constructedClass = classWriter.toByteArray();
  
          try (FileOutputStream os = new FileOutputStream(new File(getFinalPathPart(className, apiName)))){
              os.write(constructedClass);
          } catch (IOException e) {
              throw new AsmException("Exception while writing generated classes to the .class files.", e);
          }
      }