CustomType2DataClass extension generator
Convert a CustomType to a data class.
- on
Methods
-
generateDataClassBody(
SquintGeneratorOptions options) → String -
Available on CustomType, provided by the CustomType2DataClass extension
Generate data class from CustomType. -
generateDataClassFile(
{SquintGeneratorOptions options = standardSquintGeneratorOptions}) → String -
Available on CustomType, provided by the CustomType2DataClass extension
Generate data class from CustomType. -
withDataClassMetadata(
) → CustomType -
Available on CustomType, provided by the CustomType2DataClass extension
Add Annotation data to CustomType by generating the dataclass using generateDataClassFile and the using analyze to collect the annotations.