public ArrayList<Diagnostic> identify(SchemaNode node) {
        ArrayList<Diagnostic> ret = new ArrayList<>();

        TokenType newType = switchTokenTypeMap.get(node.getSchemaType());
        if (newType != null) {
            node.setSchemaType(newType);
        } 

        return ret;
    }
SwhitchDeprecatedTokenTypes replaces deprecated token with the new tokens to make internal logic easier
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/schemadocument/parser/schema/SwitchDeprecatedTokenTypes.java