@Override protected Boolean visitItemAccessNode(ItemAccessNode node) { ItemAccessNode typedOther = (ItemAccessNode) other; return equivalent(node.getBaseExprChild(), typedOther.getBaseExprChild()) && equivalent(node.getKeyExprChild(), typedOther.getKeyExprChild()) && node.isNullSafe() == typedOther.isNullSafe(); }
@Override protected Integer visitItemAccessNode(ItemAccessNode node) { return Objects.hash( wrap(node.getBaseExprChild()), wrap(node.getKeyExprChild()), node.isNullSafe()); }