LazyMethod

class LazyMethod<T>(clazz: Class<*>, methodName: String?) : ReadOnlyProperty<T, Method>

A lazy method delegate designed to improve the performance in method reflection.

Parameters

clazz

The class that the method belongs to.

methodName

The name of the method.

Constructors

Link copied to clipboard
constructor(clazz: Class<*>, methodName: String?)

Functions

Link copied to clipboard
open operator override fun getValue(thisRef: T, property: KProperty<*>): Method