original_string: public function addField(FieldInterface $field)
      {
          $key = $field->getFieldKey();
  
          $this->addDependsOn($field->getDataModelDependsOn());
          $this->addEffected($key, $field->getDataModelEffecteds());
  
          $this->_fields[$key] = $field;
  
          return $this;
      }
code: public function addField(FieldInterface $field)
      {
          $key = $field->getFieldKey();
  
          $this->addDependsOn($field->getDataModelDependsOn());
          $this->addEffected($key, $field->getDataModelEffecteds());
  
          $this->_fields[$key] = $field;
  
          return $this;
      }
code_tokens: public function addField ( FieldInterface $ field ) { $ key = $ field -> getFieldKey ( ) ; $ this -> addDependsOn ( $ field -> getDataModelDependsOn ( ) ) ; $ this -> addEffected ( $ key , $ field -> getDataModelEffecteds ( ) ) ; $ this -> _fields [ $ key ] = $ field ; return $ this ; }
docstring: Add a field to this dependency
  
  @param FieldInterface $field
  @return \Gems\Tracker\Model\FieldDataDependency
docstring_tokens: Add a field to this dependency