GenerateTarget

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class GenerateTarget(val pkg: String = "", val name: String, val props: Array<AddTargetProperty> = [])

Annotation to automatically generate class with same properties as source class

Properties

Link copied to clipboard

The name of generated target class

Link copied to clipboard
val pkg: String

The package name of generated target class

Link copied to clipboard

List of additional properties declarations that will include in generated target class