void (@NotNull List<? extends PsiElement> elements, @NotNull Collection<? super LineMarkerInfo<?>> result) { for (PsiElement element : elements) { List<RunLineMarkerContributor> contributors = DumbService.getInstance(element.getProject()) .filterByDumbAwareness(RunLineMarkerContributor.EXTENSION.allForLanguageOrAny(element.getLanguage())); Icon icon = null; List<Info> infos = null; for (RunLineMarkerContributor contributor : contributors) { Info info = contributor.getSlowInfo(element); if (info == null) { continue; } if (icon == null) { icon = info.icon; } if (infos == null) { infos = new SmartList<>(); } infos.add(info); } if (icon != null) { result.add(createLineMarker(element, icon, infos)); } } }