ObjectTypeReferenceHandler which handles references
by looking for the MetadataTypeConstants.REF_FLAG prefix.TypeAnnotation implementation.TypeAdapter implementation to be able to serialize EnumAnnotation instances.MetadataType serialization to resolve the Class for a TypeAnnotation
by name in case if it was not already mapped in by TypeAnnotationSerializerExtender.TypeAnnotation.getName()) and
the correspondent concrete class (TypeAnnotation#getClass()), this allows to the serialization to write a more
compact and easy to read name, instead of using the full qualifier name of the concrete class.ObjectType which was registered through
SerializationContext.registerObjectType(ObjectType).TypeLoader that creates instances of MetadataType from JSON representations generated by
JsonMetadataTypeWriter.referenceHandlerTypeWriter that serializes MetadataType objects into a readable and processable JSON file, that
can be deserialized again into a MetadataType using JsonMetadataTypeLoader.referenceHandlerMetadataType JSON representation and returns a new MetadataType instance.MetadataType JSON representation and returns a new MetadataType instance.RuntimeException that declares that an error occurred serializing or deserializing a MetadataType object.MetadataType serialization and deserializationTypeDeserializers for concrete MetadataType implementations.referenceHandlerObjectTypeReferenceHandler which handles
no reference.ObjectType instances
which are not explicitly defined but instead pointed at by some meansTypeAdapterFactory implementation which creates instances of OnlyOneFieldTypeAdapter when a new object
is required to be serialized and that type is a registered TypeAnnotation.TypeAdapterFactory implementation which creates OptionalTypeAdapter instances when a Optional
object is needed to be serialized or deserialized.JsonReader containing the JSON representation of a MetadataType, it gets deserialized and
returns the instance.typeReference has the MetadataTypeConstants.REF_FLAG then
it returns the type registered on the DefaultObjectTypeReferenceHandler.serializationContext under such
key.TypeBuilder referenced by the given typeId.TypeBuilder referenced by the given typeId.ObjectType and returns a key which can be used
as a reference to such typeMetadataTypeJsonMetadataTypeWriter.MetadataType, serializes it into JSON format, the result of the serialization will be the output
of the operation as a StringTypeAnnotation.MetadataType serialization.MetadataType serialization.TypeAnnotationSerializer which have been enriched with SPI discovered implementations
of TypeAnnotationSerializerMetadataTypeMetadataType, serializes it into a JSON format, the result of the serialization will be written
by the .MetadataType as parameter, this serializes it, and writes the Json object using the writer to write a reference to the given type.writer to write a reference to the given type.writer to write a reference to the given type.Copyright © 2022 MuleSoft, Inc.. All rights reserved.