TargetParameter

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

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

Constructors

TargetParameter
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

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