public static function getDocKeys(\ReflectionMethod $reflection_method)
    {
        $doc_comment_string = $reflection_method->getDocComment();

        $keys_as_array = array('url');
        /**
         * The following RegExpr captures @annotation. It must start with an @ symbol following by a word of one or more
         * charaters. Optionally followed by a space or a tab and a string. And all these annotations must end in
         * a proper new line (\n, \r\n etc.) to seperate the findings.
         */
        if (preg_match_all('/@(\w+)([ \t](.*?))?(?:\n|\r)+/', $doc_comment_string, $matches, PREG_SET_ORDER)) {
            $keys = array();
            foreach ($matches as $match) {
                if (in_array($match[1], $keys_as_array)) {
                    $keys[$match[1]][] = $match[3];
                } else {
                    if (!isset($match[2])) {
                        $keys[$match[1]] = true;
                    } else {
                        $keys[$match[1]] = $match[3];
                    }
                }
            }

            return $keys;
        }

        return false;
    }