void (final XmlTag tag, final String name, final List<? super PsiReference> refs) { if (tag.getAttributeValue(name) != null) { ContainerUtil.addAll(refs, tag.getAttribute(name, null).getValueElement().getReferences()); } }