Long2ObjectMap<RangeMarker> (long targetRange) { Long2ObjectMap<RangeMarker> cache = new Long2ObjectOpenHashMap<>(); if (quickFixActionMarkers != null) { for (Pair<IntentionActionDescriptor, RangeMarker> pair : quickFixActionMarkers) { RangeMarker marker = pair.getSecond(); if (marker.isValid() && TextRangeScalarUtil.toScalarRange(marker) == targetRange) { cache.put(targetRange, marker); break; } } } return cache; }