CustomType2DataClass extension generator
Convert a CustomType to a data class.
- on
Properties
- 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.no setter
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. -
unwrapNestedTypes(
List< AbstractType> types) → List<AbstractType> -
Available on CustomType, provided by the CustomType2DataClass extension