void (@NotNull List<? extends PsiElement> elements, @NotNull Collection<? super RelatedItemLineMarkerInfo<?>> result, boolean forNavigation) { final PsiElement psiElement = ContainerUtil.getFirstItem(elements); if (psiElement == null || !DevKitInspectionUtil.isAllowed(psiElement.getContainingFile())) { return; } super.collectNavigationMarkers(elements, result, forNavigation); }