W3cubDocs

/Kotlin

Setter

interface Setter<R> : Accessor<R>, KFunction<Unit>

Setter of the property is a set method declared alongside the property.

Inherited Properties

isExternal

abstract val isExternal: Boolean

true if this function is external. See the Kotlin language documentation for more information.

isInfix

abstract val isInfix: Boolean

true if this function is infix. See the Kotlin language documentation for more information.

isInline

abstract val isInline: Boolean

true if this function is inline. See the Kotlin language documentation for more information.

isOperator

abstract val isOperator: Boolean

true if this function is operator. See the Kotlin language documentation for more information.

isSuspend

abstract val isSuspend: Boolean

true if this is a suspending function.

property

abstract val property: KProperty<R>

The property which this accessor is originated from.

Inheritors

Setter

interface Setter<R> : Setter<R>, (R) -> Unit

Setter of the property is a set method declared alongside the property.

Setter

interface Setter<T, R> : Setter<R>, (T, R) -> Unit

Setter of the property is a set method declared alongside the property.

Setter

interface Setter<D, E, R> : Setter<R>, (D, E, R) -> Unit

Setter of the property is a set method declared alongside the property.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-mutable-property/-setter.html