Class LazyMethod

  • All Implemented Interfaces:
    kotlin.properties.ReadOnlyProperty

    
    public final class LazyMethod<T extends Object>
     implements ReadOnlyProperty<T, Method>
                        

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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Method getValue(T thisRef, KProperty<?> property)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LazyMethod

        LazyMethod(Class<?> clazz, String methodName)
        Parameters:
        clazz - The class that the method belongs to.
        methodName - The name of the method.