original_string: private function namespaceMatches() : bool
      {
          $currentNamespace = ($this->currentNamespace && is_array($this->currentNamespace->name->parts))
              ? $this->currentNamespace->name->toString()
              : '';
  
          return $currentNamespace === $this->reflectedClass->getNamespaceName();
      }
code: private function namespaceMatches() : bool
      {
          $currentNamespace = ($this->currentNamespace && is_array($this->currentNamespace->name->parts))
              ? $this->currentNamespace->name->toString()
              : '';
  
          return $currentNamespace === $this->reflectedClass->getNamespaceName();
      }
code_tokens: private function namespaceMatches ( ) : bool { $ currentNamespace = ( $ this -> currentNamespace && is_array ( $ this -> currentNamespace -> name -> parts ) ) ? $ this -> currentNamespace -> name -> toString ( ) : '' ; return $ currentNamespace === $ this -> reflectedClass -> getNamespaceName ( ) ; }
docstring: Checks if the current namespace matches with the one provided with the reflection class
  
  @return bool
docstring_tokens: Checks if the current namespace matches with the one provided with the reflection class