void (@NotNull PsiElement element) { PsiReference[] injected = InjectedReferencesContributor.getInjectedReferences(element); if (injected != null) { for (PsiReference reference : injected) { if (reference.resolve() == null) { TextRange range = reference.getRangeInElement(); if (range.isEmpty() && range.getStartOffset() == 1 && "\"\"".equals(element.getText())) { String message = ProblemsHolder.unresolvedReferenceMessage(reference); myHolder.registerProblem(element, message, ProblemHighlightType.LIKE_UNKNOWN_SYMBOL, TextRange.create(0, 2)); } else { myHolder.registerProblem(reference); } } } } super.visitElement(element); }