docs: public void genCode(String language, File outputDirectory)
              throws IOException {
          if ("c++".equals(language)) {
              CppGenerator gen = new CppGenerator(mName, mInclFiles, mRecords,
                      outputDirectory);
              gen.genCode();
          } else if ("java".equals(language)) {
              JavaGenerator gen = new JavaGenerator(mName, mInclFiles, mRecords,
                      outputDirectory);
              gen.genCode();
          } else if ("c".equals(language)) {
              CGenerator gen = new CGenerator(mName, mInclFiles, mRecords,
                      outputDirectory);
              gen.genCode();
          } else {
              throw new IOException("Cannnot recognize language:" + language);
          }
      }