public function getMethod()
{
if ($annotation = $this->getAnnotationByType('Method\\Method')) {
return strtoupper(substr(get_class($annotation), strrpos(get_class($annotation), '\\') + 1));
}
throw new RuntimeException('No HTTP method given, invalid API blueprint.');
}