docs: public void writeThisClass(String strClassName, String strRecordType)
      {
          Record recFileHdr = this.getRecord(FileHdr.FILE_HDR_FILE);
          try   {
              recFileHdr.addNew();
              recFileHdr.getField(FileHdr.FILE_NAME).setString(strClassName);
              recFileHdr.setKeyArea(FileHdr.FILE_NAME_KEY);
              if (recFileHdr.seek(DBConstants.EQUALS))    // Is there a file with this name?
                  strRecordType = "Record"; // Just to be sure
          } catch (DBException ex)   {
              ex.printStackTrace();
          }
  
          if (strRecordType.length() == 0)
              strRecordType = " ";
          if (m_ClassNameList.addName(strClassName) == false)
              return;
  
          WriteClass writeClass = null;
          if (strRecordType.equalsIgnoreCase("Record"))
              writeClass = new WriteRecordClass(this.getTask(), null, null);
          else if (strRecordType.equalsIgnoreCase("Resource"))
              writeClass = new WriteResourceClass(this.getTask(), null, null);
          else
              writeClass = new WriteClass(this.getTask(), null, null);
          if (writeClass != null)
          {
              writeClass.writeClass(strClassName, CodeType.THICK);
              writeClass.free();
          }
  
      }