protected static function getNamespacePrefixes($namespace) {
        $namespaceExp = explode(static::CS, trim($namespace, static::CS));
        $namespaceExpCount = count($namespaceExp);
        if ($namespaceExpCount === 1) {
            return $namespaceExp;
        }
        $prefixes = [];
        $currPrefix = '';
        for ($i = 0; $i < $namespaceExpCount; $i++) {
            $currPrefix .= static::CS . $namespaceExp[$i];
            $prefixes[] = trim($currPrefix, static::CS);
        }
        $prefixes = array_reverse($prefixes);
        return $prefixes;
    }