public function addImport(string $importName): NamespaceContext
    {
        $importName = \trim($importName, '\\');
        
        if (false !== ($offset = \strrpos($importName, '\\'))) {
            $this->imports[\strtolower(\substr($importName, $offset + 1))] = $importName;
        } else {
            $this->imports[\strtolower($importName)] = $importName;
        }
        
        return $this;
    }