@Override
  public XPathPredicate @NotNull [] getPredicates() {
    final ASTNode[] nodes = getNode().getChildren(XPathElementTypes.PREDICATES);
    final XPathPredicate[] predicates = new XPathPredicate[nodes.length];
    for (int i = 0; i < predicates.length; i++) {
      predicates[i] = (XPathPredicate)nodes[i].getPsi();
    }
    return predicates;
  }
@Override
  public XPathPredicate @NotNull [] getPredicates()