Enumeration partialAttributes = partialExtensionEntity.attributes().objectEnumerator();
while (partialAttributes.hasMoreElements()) {
EOAttribute partialAttribute = (EOAttribute) partialAttributes.nextElement();
if (partialEntity.attributeNamed(partialAttribute.name()) == null) {
NSMutableDictionary<String, Object> attributePropertyList = new NSMutableDictionary<String, Object>();
partialAttribute.encodeIntoPropertyList(attributePropertyList);
String factoryMethodArgumentType = (String) attributePropertyList.objectForKey("factoryMethodArgumentType");
// OFFICIALLY THE DUMBEST DAMN THING I'VE EVER
// SEEN
if ("EOFactoryMethodArgumentIsString".equals(factoryMethodArgumentType)) {
attributePropertyList.setObjectForKey("EOFactoryMethodArgumentIsNSString", "factoryMethodArgumentType");