toMetadata

open override fun toMetadata(): PrepareKeyMetadata<P>

Extracts and constructs the PrepareKey metadata from the visited class. Determines the name from @PreparableKey annotation or uses the simple class name. Extracts the value type from the PrepareKey generic parameter.

Return

the constructed PrepareKey metadata