| 37 | } |
| 38 | |
| 39 | bool OpaqueType::ExtensionEquals(const ExtensionType& other) const { |
| 40 | if (extension_name() != other.extension_name()) { |
| 41 | return false; |
| 42 | } |
| 43 | const auto& opaque = internal::checked_cast<const OpaqueType&>(other); |
| 44 | return storage_type()->Equals(*opaque.storage_type()) && |
| 45 | type_name() == opaque.type_name() && vendor_name() == opaque.vendor_name(); |
| 46 | } |
| 47 | |
| 48 | std::string OpaqueType::Serialize() const { |
| 49 | JsonWriter writer; |
nothing calls this directly
no test coverage detected