getPrivateFieldByName

inline fun <T : Any, R : Any> T.getPrivateFieldByName(name: String): R(source)

Retrieves the value of a private property in the receiver instance by its name.

Return

The value of the private property.

Parameters

name

The name of the private property.

Throws

if the receiver does not have a private property with the given name.