W3cubDocs

/Kotlin

Getter

Platform and version requirements: JVM (1.0)
interface Getter<out V> : KProperty.Accessor<V>, KFunction<V>

Getter of the property is a get method declared alongside the property.

Inherited Properties

Platform and version requirements: JVM (1.1)

isExternal

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

abstract val isExternal: Boolean
Platform and version requirements: JVM (1.1)

isInfix

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

abstract val isInfix: Boolean
Platform and version requirements: JVM (1.1)

isInline

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

abstract val isInline: Boolean
Platform and version requirements: JVM (1.1)

isOperator

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

abstract val isOperator: Boolean
Platform and version requirements: JVM (1.1)

isSuspend

true if this is a suspending function.

abstract val isSuspend: Boolean

Inheritors

Platform and version requirements: JVM (1.0)

Getter

Getter of the property is a get method declared alongside the property.

interface Getter<out V> : KProperty.Getter<V>, () -> V
Platform and version requirements: JVM (1.0)

Getter

Getter of the property is a get method declared alongside the property.

interface Getter<T, out V> : KProperty.Getter<V>, (T) -> V
Platform and version requirements: JVM (1.0)

Getter

Getter of the property is a get method declared alongside the property.

interface Getter<D, E, out V> : 
    KProperty.Getter<V>, 
    (D, E) -> V

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