public static function isTypeName(string $typeName): bool
	{
		$matches = [];
		$result = preg_match('~^\\\\?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)(\\\\[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)*$~', $typeName, $matches);
		if ($result === false) {
			// @codeCoverageIgnoreStart
			throw new Exception('PREG error ' . preg_last_error());

			// @codeCoverageIgnoreEnd
		}

		return $result !== 0 && $matches !== null;
	}