CustomType2DataClass extension generator
Convert a CustomType to a data class.
- on
Properties
- withDataClassMetadata → CustomType
-
Add Annotation data to CustomType by generating the dataclass
using generateDataClassFile and the using analyze to collect
the annotations.
no setter
Methods
-
generateDataClassBody(
SquintGeneratorOptions options) → String - Generate data class from CustomType.
-
generateDataClassFile(
{SquintGeneratorOptions options = standardSquintGeneratorOptions}) → String - Generate data class from CustomType.
-
unwrapNestedTypes(
List< AbstractType> types) → List<AbstractType>