typeOf static method

ObjectivePropertType typeOf(
  1. Property property
)

Implementation

static ObjectivePropertType typeOf(Property property) {
  if (baseTypeMap.keys.contains(property.type)) {
    return ObjectivePropertType.base;
  } else if (classTypeMap.keys.contains(property.type)) {
    return ObjectivePropertType.systemClass;
  } else if (specialTypeMap.keys.contains(property.type)) {
    return ObjectivePropertType.specialType;
  } else {
    return ObjectivePropertType.customClass;
  }
}