boolean (Language language, final PsiLanguageInjectionHost psiElement) { if (!isMine(psiElement)) return false; String id = language.getID(); if (psiElement instanceof XmlAttributeValue) { return doInjectInAttributeValue((XmlAttributeValue)psiElement, id); } else if (psiElement instanceof XmlText) { return doInjectInXmlText((XmlText)psiElement, id); } return false; }