PropertyFinder

abstract class PropertyFinder<R>(keyMode: PropertyFinder.KeyMode = KeyMode.CAPITAL_TO_DOT)

A helper class which when inherited will create a map of properties with type R. This map will allow searching via the given KeyMode format.

Parameters

R

Constructors

Link copied to clipboard
fun PropertyFinder(keyMode: PropertyFinder.KeyMode = KeyMode.CAPITAL_TO_DOT)

Create empty Property finder

Types

Link copied to clipboard

Functions

Link copied to clipboard
open operator fun get(key: String, convertFirst: Boolean = true): R

Properties

Link copied to clipboard
val keys: ImmutableSet<String>
Link copied to clipboard
val propertyMap: PersistentMap<String, KProperty1<Any, R>>