XPathExpression (PsiElement context, String text) { final XPathFile file = createXPathFile(context, text); final XPathExpression child = PsiTreeUtil.getChildOfType(file, XPathExpression.class); assert child != null; return child; }