// turn rhs into id collection
Set ids = new HashSet();
for (Object entity : (Collection<?>) rhs.getConstant()) {
ids.add(util.getIdentifier(entity));
}
rhs = new ConstantImpl(ids);
args = Arrays.asList(lhs, rhs);
}
}
super.visitOperation(type, operator, args);
}