public SemanticEditorPosition copyAnd(@NotNull Consumer<? super SemanticEditorPosition> modifier) {
    SemanticEditorPosition position = copy();
    modifier.accept(position);
    return position;
  }
public SemanticEditorPosition copyAnd(@NotNull Consumer<? super SemanticEditorPosition> modifier)