boolean (XPathExpression x1, XPathExpression x2) { if (x1.getType() != x2.getType()) return false; // another hidden and hard-to-find goodie from the dark non-OpenAPI world return PsiEquivalenceUtil.areElementsEquivalent(x1, x2); }