corda / net.corda.core.utilities / PropertyDelegate

PropertyDelegate

interface PropertyDelegate<out T>

Simple interface encapsulating the implicit Kotlin contract for immutable property delegates.

Functions

getValue

abstract operator fun getValue(thisRef: Any?, property: KProperty<*>): T

Invoked as part of Kotlin delegated properties construct.

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.

Inheritors

VariablePropertyDelegate

interface VariablePropertyDelegate<T> : PropertyDelegate<T>

Simple interface encapsulating the implicit Kotlin contract for mutable property delegates.