void (@NotNull InsertionContext context) { TextRange range = myOldQualifierExpression.getTextRange(); context.getDocument().deleteString(range.getStartOffset(), range.getEndOffset() + 1); context.commitDocument(); }