void () { createElement("<a><?xml version=\"1.0\"?></a>").getXmlTag().accept(new PsiRecursiveElementVisitor() { @Override public void visitElement(@NotNull PsiElement element) { super.visitElement(element); for (final PsiReference reference : element.getReferences()) { assertFalse(reference instanceof GenericDomValueReference); } } }); }