CompletionChar (char completionChar) { return switch (completionChar) { case Lookup.NORMAL_SELECT_CHAR -> ENTER; case Lookup.REPLACE_SELECT_CHAR -> TAB; case Lookup.AUTO_INSERT_SELECT_CHAR -> AUTO_INSERT; case Lookup.COMPLETE_STATEMENT_SELECT_CHAR -> COMPLETE_STATEMENT; default -> OTHER; }; }