private function getDocComment($classReflector)
    {
        $commentString = $classReflector->getDocComment();

        if (!$commentString) {
            $startline = $classReflector->getStartLine();
            $fileLines = file($classReflector->getFileName());
            $lineNumber = $startline - 1;
            while (isset($fileLines[$lineNumber]) && substr($fileLines[$lineNumber], 0, 3) != '/**') {
                $lineNumber--;
            }
            $commentString = join(array_slice($fileLines, $lineNumber));
        }

        return $commentString;
    }