code: public void generateFromStringTemplate(TypeDef model, String[] parameters, String content) throws IOException {
          TypeDef newModel = createTypeFromTemplate(model, parameters, content);
          if (processingEnv.getElementUtils().getTypeElement(newModel.getFullyQualifiedName()) != null) {
              System.err.println("Skipping: " + newModel.getFullyQualifiedName()+ ". Class already exists.");
              return;
          }
          if (classExists(newModel)) {
              System.err.println("Skipping: " + newModel.getFullyQualifiedName()+ ". Class already exists.");
              return;
          }
          generateFromStringTemplate(model, parameters, processingEnv.getFiler().createSourceFile(newModel.getFullyQualifiedName()), content);
      }
docs: Generates a source file from the specified {@link io.sundr.codegen.model.TypeDef}.
  
  @param model         The model of the class to generate.
  @param content       The template to use.
  @throws IOException  If it fails to create the source file.