docs: public void writeInit()
      {
          Record recClassInfo = this.getMainRecord();
          LogicFile recLogicFile = (LogicFile)this.getRecord(LogicFile.LOGIC_FILE_FILE);
          Record recClassFields = this.getRecord(ClassFields.CLASS_FIELDS_FILE);
          try   {
              String strClassName;
              String strMethodName;
              strClassName = recClassInfo.getField(ClassInfo.CLASS_NAME).getString();
              if ("interface".equalsIgnoreCase(recClassInfo.getField(ClassInfo.CLASS_TYPE).toString()))
                  return;
              if (this.readThisMethod("init"))
                  this.writeThisMethod(CodeType.THICK);
              else
              {
                  strMethodName = "init";
                  recLogicFile.addNew();
                  recLogicFile.getField(LogicFile.METHOD_CLASS_NAME).setString(strClassName);
                  recLogicFile.getField(LogicFile.METHOD_NAME).setString(strMethodName);
                  MethodInfo methodInfo = new MethodInfo();
                  m_MethodHelper.getTheMethodInfo(recLogicFile, methodInfo);   // Get the correct interface, etc..
                      //  Now, zero out all the class fields
          
                  if (methodInfo.strMethodInterface.length() == 0)
                  {   // Spcial case - no Init method, but fields to Init
                      recClassFields.close();
          
                      if (recClassFields.hasNext())
                          methodInfo.strMethodInterface = m_strParams;    // Same as constructor
                  }
                  if (methodInfo.strMethodInterface.length() != 0)
                      if (!(strClassName.equals(m_strLastMethod)))    // Don't write same init method twice!
                      if (!(methodInfo.strMethodInterface.equals(m_strLastMethodInterface)))
                  {
                      recClassFields.close();
                      recClassFields.moveFirst();
          
                      this.writeMethodInterface(null, "init", "void", methodInfo.strMethodInterface, "", "Initialize class fields", null);
                      methodInfo.strMethodInterface = this.getMethodVariables(methodInfo.strMethodInterface);
                      this.writeClassInitialize(false);
                      m_StreamOut.writeit("\tsuper.init(" + methodInfo.strMethodInterface + ");\n");
                      m_StreamOut.writeit("}\n");
                  }
              }
          } catch (DBException ex)   {
              ex.printStackTrace();
          }
      }