NSMutableDictionary<String, Object> property = new NSMutableDictionary<String, Object>();
boolean optional = attribute != null && attribute.allowsNull();
property.setObjectForKey(optional, "optional");
Class<?> attributeClass = classDescription.classForAttributeKey(key.key());
if (String.class.isAssignableFrom(attributeClass)) {
property.setObjectForKey("string", "type");
if (attribute != null) {
int width = attribute.width();
if (width > 0) {