public static TypeInfo getNaturalTypeInfo(PropertyDeclaration property) {
if ((property.getType() instanceof BasicType) == false) {
return TypeInfoFactory.unknownTypeInfo;
}
Class<?> valueClass = EmitContext.getFieldTypeAsClass(property);
ValueSerdeFactory serde = ValueSerdeFactory.fromClass(valueClass);
return serde.getTypeInfo();
}