void (@NotNull Graphics g, boolean thinErrorStripeMark, int yStart, int yEnd, @NotNull Color color) { int paintWidth; int x; if (thinErrorStripeMark) { paintWidth = getMinMarkHeight(); x = isMirrored() ? getThickness() - paintWidth : 0; if (yEnd - yStart < 6) { yStart -= 1; yEnd += yEnd - yStart - 1; } } else { x = isMirrored() ? 0 : getMinMarkHeight() + getThinGap(); paintWidth = SCROLLBAR_WIDTH.get(); } g.setColor(color); g.fillRect(x, yStart, paintWidth, yEnd - yStart); }