boolean (@NotNull LineMarkerInfo info, Collection<? extends LineMarkerInfo> where) { Icon icon = info.getIcon(); for (LineMarkerInfo markerInfo : where) { if (markerInfo.startOffset == info.startOffset && markerInfo.endOffset == info.endOffset && matchLineMarkersTooltip(info, markerInfo) && matchIcons(icon, markerInfo.getIcon())) { return true; } } return false; }