void (AnActionEvent e, CompletionType type, int time) { Editor editor = e.getData(CommonDataKeys.EDITOR); assert editor != null; Project project = editor.getProject(); assert project != null; InputEvent inputEvent = e.getInputEvent(); createHandler(type, true, false, true).invokeCompletion(project, editor, time, inputEvent != null && inputEvent.getModifiers() != 0); }