public Tuple<EnumSet> createValues(TypeTag tag, PrefabValues prefabValues, LinkedHashSet<TypeTag> typeStack) {
ConditionalInstantiator ci = new ConditionalInstantiator(EnumSet.class.getName());
LinkedHashSet<TypeTag> clone = cloneWith(typeStack, tag);
TypeTag entryTag = determineAndCacheActualTypeTag(0, tag, prefabValues, clone, Enum.class);
EnumSet red = (EnumSet)ci.callFactory("of", classes(Enum.class), objects(prefabValues.giveRed(entryTag)));
<BUG>EnumSet black = (EnumSet)ci.callFactory("of", classes(Enum.class), objects(prefabValues.giveBlack(entryTag)));
@SuppressWarnings("unchecked")
Tuple<EnumSet> result = new Tuple<>(red, black);
return result;</BUG>
}

public Tuple<EnumSet> createValues(TypeTag tag, PrefabValues prefabValues, LinkedHashSet<TypeTag> typeStack) {
ConditionalInstantiator ci = new ConditionalInstantiator(EnumSet.class.getName());
LinkedHashSet<TypeTag> clone = cloneWith(typeStack, tag);
TypeTag entryTag = determineAndCacheActualTypeTag(0, tag, prefabValues, clone, Enum.class);
EnumSet red = (EnumSet)ci.callFactory("of", classes(Enum.class), objects(prefabValues.giveRed(entryTag)));
EnumSet black = (EnumSet)ci.callFactory("of", classes(Enum.class), objects(prefabValues.giveBlack(entryTag)));
return new Tuple<>(red, black);
