ImmutableListMultimap.Builder<Integer, TypedByteCodeNode> hashBucketsBuilder = ImmutableListMultimap.builder();
ImmutableList.Builder<TypedByteCodeNode> defaultBucket = ImmutableList.builder();
ImmutableSet.Builder<Object> constantValuesBuilder = ImmutableSet.builder();
for (TypedByteCodeNode testNode : values.build()) {
if (testNode.getNode() instanceof Constant) {
Constant constant = (Constant) testNode.getNode();
Object testValue = constant.getValue();
constantValuesBuilder.add(testValue);
int hashCode;
if (type == boolean.class) {
// boolean constant is actually an integer type
hashCode = Operations.hashCode(((Number) testValue).intValue() != 0);