code: private TaskField getTaskField(int field)
     {
        TaskField result = MPPTaskField14.getInstance(field);
  
        if (result != null)
        {
           switch (result)
           {
              case START_TEXT:
              {
                 result = TaskField.START;
                 break;
              }
  
              case FINISH_TEXT:
              {
                 result = TaskField.FINISH;
                 break;
              }
  
              case DURATION_TEXT:
              {
                 result = TaskField.DURATION;
                 break;
              }
  
              default:
              {
                 break;
              }
           }
        }
  
        return result;
     }
docs: Maps an integer field ID to a field type.
  
  @param field field ID
  @return field type