public void handleInsert(InsertionContext context, LookupElement item) {
   super.handleInsert(context, item);
   context.setAddCompletionChar(false);
   final CaretModel caretModel = context.getEditor().getCaretModel();
   context.getEditor().getDocument().insertString(caretModel.getOffset(), ";");
   caretModel.moveToOffset(caretModel.getOffset() + 1);
 }
 @Override
 protected TailType computeTailType(InsertionContext context) {
   return context.shouldAddCompletionChar() ? TailType.NONE : myTail;
 }