Skip to content

@Getter[T, R]

What getter makes from a function of the object read.

A class member holding one is a computed field: reading obj.name calls the function with obj. A decorator that wraps a getter's function returns this type by calling getter itself.