XPathUsageInfo (XPathExpression expression) { final TextRange range = XsltCodeInsightUtil.getRangeInsideHost(expression); return new XPathUsageInfo(expression, range.getStartOffset(), range.getEndOffset()); }