Minor, improve kdoc for KValueParameter.type/varargElementType
Slightly related to e77f72071d.
This commit is contained in:
@@ -584,12 +584,13 @@ class KmValueParameter(
|
|||||||
var name: String
|
var name: String
|
||||||
) : KmValueParameterVisitor() {
|
) : KmValueParameterVisitor() {
|
||||||
/**
|
/**
|
||||||
* Type of the value parameter, if this is **not** a `vararg` parameter.
|
* Type of the value parameter.
|
||||||
|
* If this is a `vararg` parameter of type `X`, returns the type `Array<out X>`.
|
||||||
*/
|
*/
|
||||||
lateinit var type: KmType
|
lateinit var type: KmType
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type of the value parameter, if this is a `vararg` parameter.
|
* Type of the `vararg` value parameter, or `null` if this is not a `vararg` parameter.
|
||||||
*/
|
*/
|
||||||
var varargElementType: KmType? = null
|
var varargElementType: KmType? = null
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user