@Override
    @NotNull
    public XPathPredicate getPredicate() {
        final ASTNode[] nodes = getNode().getChildren(TokenSet.create(XPathElementTypes.PREDICATE));
        assert nodes.length == 1 : unexpectedPsiAssertion();
        return (XPathPredicate)nodes[0].getPsi();
    }
@Override
    @NotNull
    public XPathPredicate getPredicate()