TargetParameter

data class TargetParameter(    val name: String,     val index: Int,     val type: TypeName,     val hasDefault: Boolean,     val jsonName: String? = null,     val jsonIgnore: Boolean = false,     val qualifiers: Set<AnnotationSpec>? = null)

A parameter in user code that should be populated by generated code.

Constructors

Link copied to clipboard
fun TargetParameter(    name: String,     index: Int,     type: TypeName,     hasDefault: Boolean,     jsonName: String? = null,     jsonIgnore: Boolean = false,     qualifiers: Set<AnnotationSpec>? = null)

Properties

Link copied to clipboard
val hasDefault: Boolean
Link copied to clipboard
val index: Int
Link copied to clipboard
val jsonIgnore: Boolean = false
Link copied to clipboard
val jsonName: String? = null
Link copied to clipboard
val name: String
Link copied to clipboard
val qualifiers: Set<AnnotationSpec>? = null
Link copied to clipboard
val type: TypeName