protected function getAnnotation($reflection, $name)
	{
		$res = $reflection->getAnnotations();

		if (isset($res[$name]))
		{
			if (sizeof($res[$name]) > 1)
			{
				return $res[$name];
			}

			return end($res[$name]);
		}

		return NULL;
	}