GetterAccessor

constructor(methodName: String?)

Parameters

T

The type of the value returned by the getter.

methodName

The name of the getter. If null, will use the property name to form getName.