static bool isPrimitiveType(String typeName) { return primitiveTypes.map((e) => e.value).contains(typeName); }