PsiElement (PsiElement element, PsiElement valueElement) { PsiElement e = element; while (e != null) { e.putUserData(XmlElement.INCLUDING_ELEMENT, (XmlElement)valueElement); e = e.getNextSibling(); } return element; }