void (@NotNull Graphics2D g, @NotNull Rectangle clip, int firstVisibleOffset, int lastVisibleOffset) { final double width = getFoldingAnchorWidth2D(); Collection<DisplayedFoldingAnchor> anchorsToDisplay = myAnchorDisplayStrategy.getAnchorsToDisplay(firstVisibleOffset, lastVisibleOffset, myActiveFoldRegions); for (DisplayedFoldingAnchor anchor : anchorsToDisplay) { boolean active = myActiveFoldRegions.contains(anchor.foldRegion); if (ExperimentalUI.isNewUI()) { active = myAlphaContext.isVisible(); } drawFoldingAnchor(width, clip, g, anchor.visualLine, anchor.type, active); } }