String varNameStr = varName.getBindVariableName();
Object varValue = this.variables.get(varNameStr);
if (varValue instanceof Collection) {
Collection<?> collection = (Collection<?>)varValue;
for (Object value : collection) {
StaticOperand operand = new Literal(value);
addValues(operand, matchedKeys);
}
} else {
StaticOperand operand = new Literal(varValue);
addValues(operand, matchedKeys);
}
// Not a value we know what to do with ...
return;
}