private function getMethodAnnotations($refClass, $method = '__construct')
    {
        $refMethod = $refClass->getMethod($method);
        preg_match_all('#@(.*?)\n#s', $refMethod->getDocComment(), $matches);

        return $matches[1];
    }