original_string: public function rename( $new_file )
      {
          $res = @rename( $this->path, $new_file->getPath() );
          if ( $res === FALSE ){
              throw new FileRenameException($this, $new_file);
          }
      }
code: public function rename( $new_file )
      {
          $res = @rename( $this->path, $new_file->getPath() );
          if ( $res === FALSE ){
              throw new FileRenameException($this, $new_file);
          }
      }
code_tokens: public function rename ( $ new_file ) { $ res = @ rename ( $ this -> path , $ new_file -> getPath ( ) ) ; if ( $ res === FALSE ) { throw new FileRenameException ( $ this , $ new_file ) ; } }
docstring: Rename the file or directory
  
  @param File $new_file
  
  @throws FileRenameException
docstring_tokens: Rename the file or directory