void (@NotNull PsiElement element) { super.visitElement(element); for (PsiReference ref : element.getReferences()) { PsiElement resolved = ref.resolve(); if (resolved != null) { myProcessor.process(ref.getElement(), resolved); } } }