void (@NotNull List<? extends PsiElement> elements, @NotNull Collection<? super LineMarkerInfo<?>> result) { for (PsiElement element : elements) { LineMarkerInfo<?> info = buildLineMarkerInfo(element); if (info != null) { result.add(info); } } }