Class GetterAccessor

  • All Implemented Interfaces:
    kotlin.properties.ReadOnlyProperty

    
    public final class GetterAccessor<T extends Object>
     implements ReadOnlyProperty<Any, T>
                        

    A delegate that provides efficient accessing of a no-args getter via 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
      T getValue(Object thisRef, KProperty<?> property)
      • Methods inherited from class java.lang.Object

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

      • GetterAccessor

        GetterAccessor(String methodName)
        Parameters:
        methodName - The name of the getter.