DataObjectClassMetadata

data class DataObjectClassMetadata<T : Any>(val constructor: KFunction<T>, val constructorProperties: List<ConstructorParamMetadata<T>>)

Pre-computed reflection metadata for a data class.

Type Parameters

T

The type of the data class.

Constructors

Link copied to clipboard
constructor(constructor: KFunction<T>, constructorProperties: List<ConstructorParamMetadata<T>>)

Properties

Link copied to clipboard

The primary constructor of the data class.

Link copied to clipboard

A list of metadata for each constructor parameter.

Link copied to clipboard

constructorProperties by keyName, built once with the rest of the metadata rather than per object written - writing a composite looks every attribute up by its name.