void (@Nullable @NonNls String epFqn, @NotNull UDeclaration uDeclaration, Project project, Collection<? super RelatedItemLineMarkerInfo<?>> result) { if (epFqn == null) return; final ExtensionPoint point = ExtensionPointIndex.findExtensionPoint(project, PluginRelatedLocatorsUtils.getCandidatesScope(project), epFqn); if (point == null) return; PsiElement identifier = UElementKt.getSourcePsiElement(uDeclaration.getUastAnchor()); if (identifier == null) return; final ExtensionPointCandidate candidate = new ExtensionPointCandidate(SmartPointerManager.createPointer(point.getXmlTag()), epFqn); RelatedItemLineMarkerInfo<PsiElement> info = LineMarkerInfoHelper.createExtensionPointLineMarkerInfo(Collections.singletonList(candidate), identifier); result.add(info); }