void (@NotNull PsiElement element, @NotNull AnnotationHolder holder) { List<PsiReference> references = getReferences(element); if (!annotateHyperlinks(element, holder, references)) { return; // all references highlighted already } List<ContributedReferencesAnnotator> annotators = ContributedReferencesAnnotators.INSTANCE.allForLanguageOrAny(holder.getCurrentAnnotationSession().getFile().getLanguage()); for (ContributedReferencesAnnotator annotator : annotators) { annotator.annotate(element, references, holder); } }