final protected function parseDocComment($docComment, $docType = '') {
        if (empty($docComment) || !is_string($docComment))
            return array();

        $annotations = array();
        $match = '#@' . stripslashes($docType) . '(.*?)\n#s';
        preg_match_all($match, $docComment, $annotations);
        return $annotations[1];
    }