PsiReference[] (XmlAttribute attribute, PsiReference reference) { if (attribute.getValue().contains(":")) { return new PsiReference[]{ new PrefixReference(attribute), reference }; } else { return new PsiReference[]{ reference }; } }