Consumer<RangeHighlighterEx> (@NotNull LineMarkerInfo<?> info, boolean rendererChanged, LineMarkerInfo.LineMarkerGutterIconRenderer<?> newRenderer, boolean lineSeparatorColorChanged, boolean lineSeparatorPlacementChanged) { return markerEx -> { if (rendererChanged) { markerEx.setGutterIconRenderer(newRenderer); } if (lineSeparatorColorChanged) { markerEx.setLineSeparatorColor(info.separatorColor); } if (lineSeparatorPlacementChanged) { markerEx.setLineSeparatorPlacement(info.separatorPlacement); } }; }