private void setLine(final int line, boolean visualLineMightBeChanged) {
    if (getLine() != line) {
      if (visualLineMightBeChanged && !myType.lineShouldBeChanged(this, line, getProject())) {
        return;
      }
      var oldLine = getLine();
      myState.setLine(line);
      mySourcePosition = null;

      if (visualLineMightBeChanged) {
        removeHighlighter();
      }

      // We try to redraw inlays every time,
      // due to lack of synchronization between inlay redrawing and breakpoint changes.
      redrawInlineInlays(getFile(), oldLine);
      redrawInlineInlays(getFile(), line);

      fireBreakpointChanged();
    }
  }
private void setLine(final int line, boolean visualLineMightBeChanged)