function handleOverrides(matchedString, overrideType) {
            if (matchedString != null) {
                let overrides = matchedString.split(',');
                if (params != null) {
                    for (let param of params) {
                        if (overrides.indexOf(param.name) != -1) {
                            param.type = dom.create.namedTypeReference(overrideType);
                        }
                    }
                }
                if (overrides.indexOf('$return') != -1) { // has $return, must be a function
                    obj.returnType = dom.create.namedTypeReference(overrideType);
                }
                if (overrides.indexOf('$type') != -1) { // has $type, must be a property
                    obj.type = dom.create.namedTypeReference(overrideType);
                }
            }
        }
{string} K - [key]
1 = string | 2 = null | 3 = K | 4 = key

{string=string} K - [key]
1 = string | 2 = string | 3 = K | 4 = key