/**
  * Builds the class documentation block for the specified class keeping doc comments and vital annotations
  *
  * @return string $methodDocumentation DocComment for the given method
  */
 protected function buildClassDocumentation()
 {
     $classDocumentation = "/**\n";
     $classReflection = new \TYPO3\Flow\Reflection\ClassReflection($this->fullOriginalClassName);
     $classDescription = $classReflection->getDescription();
     $classDocumentation .= ' * ' . str_replace("\n", "\n * ", $classDescription) . "\n";
     foreach ($this->reflectionService->getClassAnnotations($this->fullOriginalClassName) as $annotation) {
         $classDocumentation .= ' * ' . \TYPO3\Flow\Object\Proxy\Compiler::renderAnnotation($annotation) . "\n";
     }
     $classDocumentation .= " */\n";
     return $classDocumentation;
 }
 /**
  * @test
  */
 public function getParentClassReturnsFlowsClassReflection()
 {
     $class = new \TYPO3\Flow\Reflection\ClassReflection(__CLASS__);
     $parentClass = $class->getParentClass();
     $this->assertInstanceOf(\TYPO3\Flow\Reflection\ClassReflection::class, $parentClass);
 }