private int getToken(String s) {
        assert (s != null);

        Integer tokenKindId = SQLAutoIndentStrategy.DEFAULT_SQL_BLOCK_COMPLETIONS.findTokenId(s);
        if (tokenKindId != null) {
            return tokenKindId;
        }

        final DBPKeywordType keywordType = syntaxManager.getDialect().getKeywordType(s);
        if (keywordType == DBPKeywordType.KEYWORD) {
            return TokenKeyword;
        }
//        if (syntaxManager.getDialect().isKeywordStart(s)) {
//            return TokenKeywordStart;
//        }
        return TokenOTHER;
    }
Returns one of the keyword constants or <code>TokenIDENT</code> for a scanned identifier.

@param s a scanned identifier
@return one of the constants defined in {@link SQLIndentSymbols}
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/indent/SQLHeuristicScanner.java