throw new IllegalStateException("Unexpected *Expr node type: " + child);
}
}
private void makePredicateNode(BENode parent, List<BENode> nodes, List<Integer> treeCounters, PrimaryPredicateExpr condition, boolean isNegated) {
Predicate predicate = makePredicate(condition);
List<String> propertyPath = ((PropertyValueExpr) condition.getChild()).getPropertyPath();
List<AttributeId> translatedPath = attributePathTranslator.translatePropertyPath(propertyPath);
boolean isRepeated = attributePathTranslator.isRepeatedProperty(propertyPath);
PredicateNode node = new PredicateNode<AttributeId>(parent, predicate, isNegated, translatedPath, isRepeated);
node.setLocation(nodes.size(), nodes.size() + 1);