Class KotlinDataClassType<T>
java.lang.Object
tech.ydb.yoj.databind.schema.reflect.KotlinDataClassType<T>
- All Implemented Interfaces:
ReflectType<T>
Represents a Kotlin data class for the purposes of YOJ data-binding.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns subfields of this type in the order of their appearance inthe canonical all-arg constructor.toString()
-
Constructor Details
-
KotlinDataClassType
-
-
Method Details
-
getConstructor
- Specified by:
getConstructorin interfaceReflectType<T>- Returns:
- canonical all-args constructor for this type
-
getFields
Description copied from interface:ReflectTypeReturns subfields of this type in the order of their appearance inthe canonical all-arg constructor.- Specified by:
getFieldsin interfaceReflectType<T>- Returns:
- list of subfields of this type in constructor order; might be empty
-
getRawType
- Specified by:
getRawTypein interfaceReflectType<T>- Returns:
- raw type that this reflection information describes
-
toString
-