private static function explodeNamespaces($annotationBag)
    {
        foreach ($annotationBag as $k => $v) {
            // fix for empty newlines that cause that a "\n/" is appended to the annotation value
            if (!is_array($v)) {
                $v = str_replace("\n/", "", trim($v));
            }

            if (strpos($k, ".") !== false) {
                unset($annotationBag[$k]);
                self::setArrayValue($annotationBag, $k, $v);
            } else {
                $annotationBag[$k] = $v;
            }
        }

        return $annotationBag;
    }