docs: public void writeHeading(String strClassName, String strPackage, CodeType codeType)
      { // Write out the first few lines of the header
      	String strFileName = DBConstants.BLANK;
          try   {
              ClassInfo recClassInfo = (ClassInfo)this.getMainRecord();
              ClassProject recClassProject = (ClassProject)((ReferenceField)recClassInfo.getField(ClassInfo.CLASS_PROJECT_ID)).getReference();
          	strFileName = this.getFileName(strClassName, strPackage, codeType, recClassProject);
              File file = new File(strFileName);
              String strPath = file.getParent();
              File fileDir = new File(strPath);
              fileDir.mkdirs();
              m_StreamOut = new StreamOut(strFileName);
              m_IncludeNameList = new Includes(this, m_StreamOut);
          } catch (IOException ex)   {
              ex.printStackTrace();
          }
  
          String header = null;
          String resourceName = Utility.getDomainName(strPackage);
          if (resourceName == null)
          	resourceName = Constants.ROOT_PACKAGE.substring(0, Constants.ROOT_PACKAGE.length() - 1);
          if (strFileName.endsWith(".java"))
          	resourceName = resourceName + ".java";
          resourceName = resourceName + ".header";
          ResourceBundle resourceBundle = this.getTask().getApplication().getResources(Constants.ROOT_PACKAGE + "res.app.program.program.Program", false);
          if (resourceBundle != null)
          	header = resourceBundle.getString(resourceName);
          if (header == null)
          {
  	        if (strFileName.endsWith(".java"))
  	        {
  		        header = "/**\n" +
  		        		" * @(#)${className}.\n" +
  		        		" * Copyright © 2012 tourgeek.com. All rights reserved.\n" +
  		        		" */";
  	        }
  	        else
  	        {
  		        header = "# ${className}.\n" +
  		        	"# Copyright © 2012 tourgeek.com. All rights reserved.";
  	        }
          }
          Map<String,Object> map = new HashMap<String,Object>();
          map.put("className", strClassName);
          header = Utility.replaceResources(header, null, map, this);
      // Write the first few lines of the method file
          m_StreamOut.writeit(header + "\n");
      }