private function parseSettings($annot) {
        $annot = str_ireplace(array(' (', ', ', ', ', ')', '"', "'"), array('(', ', ', ', '), $annot);
        $exp = preg_split('[\(]', $annot);
        $return = array(
            'type' => str_ireplace('dbs\\', '', $exp[0]),
            'attrs' => array(),
        );
        if (isset($exp[1])) {
            parse_str(str_replace(array(','), array('&'), $exp[1]), $return['attrs']);
        }

        $_return = $return;
        foreach ($_return['attrs'] as $attr => $val) {
            $return['attrs'][$attr] = trim($val);
        }
        return $return;
    }