W3cubDocs

/Kotlin

Getter

interface Getter<out R> : Accessor<R>, KFunction<R>

Getter of the property is a get 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

Getter

interface Getter<out R> : Getter<R>, () -> R

Getter

interface Getter<T, out R> : Getter<R>, (T) -> R

Getter

interface Getter<D, E, out R> : Getter<R>, (D, E) -> R

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