code: public Task add()
     {
        Task task = new Task(m_projectFile, (Task) null);
        add(task);
        m_projectFile.getChildTasks().add(task);
        return task;
     }
docs: Add a task to the project.
  
  @return new task instance