int (Editor editor, int tailOffset) { int result = CommaTailType.INSTANCE.processTail(editor, tailOffset); if (myOriginalCall.isValid()) { PsiDocumentManager.getInstance(myOriginalCall.getProject()).commitDocument(editor.getDocument()); if (myOriginalCall.isValid()) ParameterHintsPass.asyncUpdate(myOriginalCall, editor); } return result; }