PropertyGet

data class PropertyGet(val superProperty: Property, val superFun: PropertyGetter, val args: ArgumentList) : SuperCall.PropertyAccess(source)

A call to a property's getter.

Note that superGetter and superProperty.getter may not be the same, if the original getter was overridden by an intermediate superclass. superGetter is the getter that the getter is overriding, while superProperty is the original property that is being overridden. Any calls should go to superGetter, which is set as superFun.

Constructors

Link copied to clipboard
constructor(superProperty: Property, superFun: PropertyGetter, args: ArgumentList)

Properties

Link copied to clipboard
open override val args: ArgumentList

The arguments the function is being called with.

Link copied to clipboard

The short name of the function called. May be a name like <get-foo> for a property accessor.

Link copied to clipboard

Whether superFun is abstract.

Link copied to clipboard

Whether superFun can be invoked.

Link copied to clipboard

Whether superFun (and thus this call) is suspending.

Link copied to clipboard

The parameters of the function originally being called.

Link copied to clipboard

If this is an accessor call, return the short name of the property.

Link copied to clipboard
open override val superFun: PropertyGetter

The function originally being called.

Link copied to clipboard
Link copied to clipboard
open override val superProperty: Property

Functions

Link copied to clipboard
fun callSuper(): Any?

Call superFun with the call's arguments.

inline fun callSuper(builder: ArgumentsBuilder): Any?

Call superFun with the given arguments.

Link copied to clipboard
suspend fun callSuperSuspend(): Any?

Call superFun with the call's arguments.

inline suspend fun callSuperSuspend(builder: ArgumentsBuilder): Any?

Call superFun with the given arguments.

Link copied to clipboard

Copy the call's arguments into this argument list.