Package 

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.

    • 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.