void (@NotNull InsertionContext context) { if (myAddDot) { context.setAddCompletionChar(false); TailTypes.dotType().processTail(context.getEditor(), context.getTailOffset()); } if (myAddDot || context.getCompletionChar() == '.') { AutoPopupController.getInstance(context.getProject()).scheduleAutoPopup(context.getEditor()); } }